User to user messaging, reply to email to respond (inbound parse)

Hi Folks,

I am building a messaging app for my users with email and sms notifications. Between my own knowledge and other posts on the forum, I think I can build this.

But I would love it if a user could reply directly to the email or sms notification to respond to a message (so they don’t have to open the web app / log in). Any suggestions on how to go about this? Thanks in advance!

Check out Mailgun’s API. It can handle inbound emails and reroute them to your app.

Thanks. It looks like sendgrid also has inbound parse:

And Twilio has similar functionality

Have you or someone you know implemented this? I’m trying to get a sense of how much work this is and any gotchas before I dive in.

1 Like

Check out for handling email, its the most extensive email API I’ve come across and its free!

Build awesome things with email

Context.IO takes the pain out of syncing email data with your app so you can focus on what makes your product great.

1 Like

I used Mailgun’s inbound messages for an iOS app I made about two years ago and didn’t have any issues. As long as you aren’t doing anything too complicated with the response email, it should be straightforward. I presume SendGrid and Twilio (which I’ve also used) are very similar, but I can’t comment on which to choose. Keep in mind, I’m also a lower-level software developer and do this on a regular basis. So your experience may vary.

1 Like

Thanks for the suggestion!

@rushabh did you manage to get this right? if so, I may have a couple questions. Thanks.

No I havent tried it yet but I did look into it a little bit. Since I’m already using sendgrid to send out emails, I’ll probably use their email parsing service:

So you should be able to set up an API workflow in your app, expose it to the web and then use the sendgrid webhook to get the data from inbound emails.

I think exception handling is where it could get complicated (making sure the user is authorized to post, letting the user know if there is an error so they try again etc).

Please let me know if you are able to successfully implement this.

Thanks, I need to look closer at this. Appricate your reply.

Has anyone implemented any of these solutions? Any lessons learned or gotchas that other’s should be aware of?

Hi - Curious if you got the sendgrid inbound parse setup. I see the payload is multi-part form. If you got it working, I’d be curious to hear if you’d recommend POSTing this back to bubble and having bubble handle the formatting and forwarding OR if you’d recommend handling this outside of bubble with sendgrids custom code libraries.

Has anyone had any luck with this?

Following this as well. Would love to know if anyone has made it work.

@maryfox20. Yes, I was able to implement this with Sendgrid Inbound Sparse. I followed @fayewatson instructions per the following link:

Hope this helps! :slight_smile: