26
votes

I made a mobile app and used Firebase for backend and authentication. When I use firebase's built in email verification, the email always goes to the junk folder / spam.

Does anyone know how to fix this?

2

2 Answers

2
votes

That's weird. Firebase made restrictions to avoid this problem. Check here

Spam filters normally look for these things:

  • Subject Line: looking for common words and phrases associated with spam.
  • Content: looking for suspicious links, low text to image ratios, and other spammy hallmarks.
  • Metadata: looking at the To/From/CC fields, the sender’s domain, and embedded code.
  • IP address: looking for IPs that have been flagged frequently as spam by both filters and recipients in the past.

More Info


Ill suggest using your own domain to send emails. You can check this article on how to do this. You will also get the extra benefit of looking more professional.

Hope it helps :)

0
votes

Have a look at the headers of the received email message. Typically, Antispam tools use headers to add the detail of the scoring elements that lead to the message being flagged as spam. This will give you insights on why this happens since reasons can be multiple and cumulative (Title, content, DNS, DKIM, etc.)