HACKER Q&A
📣 zaczekadam

Google throws all my API-generated mail to spam. What can I do about it?


Just as in the title. We are a small startup and all our API generated emails are invitational ones. They work just like Slacks invite emails. We just changed a domain and that is when the issue started appearing. Our domain is managed by OVH.

We contacted Google support 2 times already. Things we already did: - Setup DKIM records for email authorization - Personalize invitational emails (company name, company logo, inviting person's name). - Use best practises for invitational email templates (they also are similar to Slack) - Setup Google's postmaster (we don't have data yet) - Start handling all company's email from new domain to build it's reputation

Did you guys have similar issues? If so, how did you handle it and how long did it take to be resolved?


  👤 LinuxBender Accepted Answer ✓
Have you tried adding the sending address as a contact in your contact list and also sent an email to it (even if it bounces) so that google knows that is a contact of yours? I dont use gmail, but maybe they also have a whitelist or trusted senders/domains function?