Vincent
Vincent

Reputation: 1157

GAE Python - Receive incoming email on @mydomain.com address

I am setting up a GAE app that triggers certain tasks by an email from the user. I've set up the app using the information on this page: https://developers.google.com/appengine/docs/python/mail/receivingmail. Everything works as expected, however, I would like to send the emails to a @mydomain.com email address, instead of a @myapp.appspotmail.com email address.

Currently I am using an automatic forward on the email address to get around this, however once this scales I expect to reach the daily limit on forwarded messages at some point (10.000 according to https://support.google.com/a/answer/166852?hl=en).

Is there any way that I can integrate my app with the @mydomain.com email address to prevent this from happening? Or would you know another solution for this issue?

Upvotes: 1

Views: 178

Answers (2)

Vincent
Vincent

Reputation: 1157

As LA_ mentioned, SendGrid offers a webhook for this. I ended up using MailGun, which has a similar functionality and calls a HTTP POST to my app whenever an email comes in on my @mydomain.com address.

Upvotes: 0

LA_
LA_

Reputation: 20409

Probably, you should check recently implemented GAE integration with SendGrid, I haven't used it myself (use the same solution you've described with email forwarding), but looks like it can help.

Upvotes: 1

Related Questions