I disabled bixby on my samsung years ago in favor of google assistant on my android wear watch.
But if you like it, good luck with the project. These guides may be of help
and also a basic curl version Does anyone have curl code to "add to inbox"? Sorry I am not good at programming
or you can set bixby up to ‘email to inbox’ in settings of dynalist