Logging emails I send from regular email client into my database with a BCC email address?

Basically, from either Gmail or Outlook I would like to be able to send an email to a given recipient but also BCC an email (eg. bcc@myExampleBubbleApp.com) that ‘routs’ the email or details therein to a custom ‘Email’ data type in my App’s database.

Any ideas for how try to tackle this would be greatly appreciated. Thanks in advance.

The easiest way to do this is to use a service that will do the “heavy lifting” for you. I’m not sure if sendgrid has a product but I know mailgun does How to start receiving inbound email — Mailgun API documentation

You would forward the email to an http endpoint that represented a workflow in your app. The workflow would receive the JSON email and do something with it (e.g. store it in your App’s database).

OK very interesting, I will look into that. Thanks a lot!

Bubblers often say they prefer Postmark over Sendgrid. Worth searching the forum for Postmark and Sendgrid and taking a view.

https://postmarkapp.com/inbound-email

https://docs.sendgrid.com/ui/account-and-settings/inbound-parse

I’ve not used mailgun per @bubble.trouble - I’m sure they all work. :slightly_smiling_face:

1 Like

Great to know, thanks very much!