Sign-in links and receipts landing in spam usually mean the sending domain isn't set up: no SPF, no DKIM signature, no DMARC record. Gmail and Yahoo now expect all three.
What you see
Magic links, password resets or receipts arrive in spam, or never arrive.
Why it happens
Mail providers check that a domain says which servers may send for it (SPF), that mail is signed (DKIM), and what to do with mail that fails (DMARC). Without them, your app's mail looks like spoofing.
How to fix it
Add your domain in your email provider (Resend → Domains) and create the DNS records it lists: SPF and DKIM.
Add a DMARC record: a TXT record at _dmarc.yourdomain.com , e.g.…