BLOG
BlogTopic

Testing the emails your app sends

Confirmation links, reset links, invitations, receipts and opt-ins, opened and followed from a mailbox of the run's own.

GuidesWebSign-up email links to localhost? Catch it before your users doA confirmation or reset email that points at localhost or an old preview is a common bug in AI-built apps. A test that opens the real email finds it on the first run.3 min read GuidesWebTest password reset from the email to the new passwordA reset email that links to the wrong host, or a link that fails in a new browser, locks users out. One test requests the reset, follows the link and signs in again.2 min read GuidesWebTest team invitations from the email to the joined workspaceInvitations cross two people, two sessions and an email. One plain-language test invites a second address, accepts from the email and checks both sides see the same team.2 min read GuidesWebTest receipts, notifications and other emails your app sendsOrder receipts, mention alerts and weekly digests break without anyone noticing. A run with its own mailbox triggers the email, opens it and checks what it says.1 min read GuidesWebTest a contact form all the way to the inbox“Message sent” on the page proves nothing. How to test that a form's confirmation email arrives and the submission reaches the owner, with a run that has its own mailbox.2 min read GuidesWebTest a newsletter signup with double opt-in, end to endA signup form that says “check your inbox” proves nothing until the confirmation email arrives and its link works. One test signs up, confirms and checks the welcome.1 min read GuidesWebSign-up emails that stop arriving after launchSupabase's built-in mailer sends 2 emails an hour, only to your own team. Sign-up works for you and fails for everyone else. A test with its own mailbox catches it.2 min read GuidesWebTest your app as a brand-new user, not as yourselfYour account has data, a team and every flag on. A new user's has nothing. Sign up fresh on every run and check the first thing a new user must be able to create.2 min read GuidesWebAfter moving a site to a new host, check the forms still sendThe pages look identical after a migration, but contact forms and password resets often stop sending email. Test the flows that leave the site, not just the pages.2 min read GuidesWebTest a lead magnet from the form to the inbox to the fileA free guide behind a form is three systems: the form, the email tool and the file. Any of them can break unseen. One test signs up, opens the email and checks the file.2 min read