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?
That's weird. Firebase made restrictions to avoid this problem. Check here
Spam filters normally look for these things:
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 :)
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.)