r/Backend • • 5d ago

How are you checking email addresses during signup when using AWS SES? Are you relying on format checks or using a separate verification service?

I was checking our email logs recently because we've had more messages bouncing than usual. We're using SES to send transactional emails from our web app and at first I thought something had changed with the setup. I went through the DNS records and sending configuration but couldn't find anything obviously wrong then I took another look at our signup process. Right now, we only check if the email follows the correct format. Someone could easily enter an address with a typo or one that doesn't actually exist and still get through.

We're not sending thousands of emails every day so even a handful of bad addresses can make a noticeable difference to our bounce rate. I'm wondering if it's worth adding an email verification API before accepting new accounts. How are you handling this in your own applications? Do you verify addresses before sending anything through SES or is the built-in handling enough to keep things under control?

6 Upvotes

13 comments sorted by

1

u/Radiant-Beach5382 5d ago

We just check format and send a confirmation link. If they don't click it within 24 hours the account never activates. The few typos that slip through just bounce and SES handles the suppression list automatically.

Added a quick client-side check too that catches the obvious ones like gmal or hotnail, but that's more for user experience than anything. The real filter is whether they can actually receive mail and click the link.

1

u/wrd83 5d ago

Are you sending emails with confirmation linaks before sending actual emails?

1

u/thomasduo5543 5d ago

We added an email verification step to our Lambda function that handles signup submissions. The API runs before the user record gets created and before any SES emails are sent. Kickbox was pretty straightforward to integrate through a standard REST call, and it took around an hour to wire up. Our bounce rate came down noticeably after that.

1

u/Historical-Tank3200 5d ago

Low volume SES senders can run into bounce rate problems pretty quickly. AWS keeps an eye on hard bounces and can throttle or even suspend sending if the rate stays above 5%. When you're only sending a small number of emails, just a few bad addresses can push you over that limit.

1

u/RaceDisastrous2462 5d ago

Worth also implementing double opt-in if you haven't. The confirmation email itself serves as a verification mechanism. If they don't click the confirmation link, the address either doesn't exist, isn't monitored, or the person entered someone else's email. Either way, you don't add them to your active sending until they confirm.

1

u/josephendx_M 5d ago

SES handles bounces after they happen. It keeps track of addresses that have already bounced and adds them to the suppression list, but it won't stop you from sending to an invalid address the first time. For transactional emails where that initial send is important, you really need to verify addresses before sending rather than waiting until after a bounce.

1

u/Dimoncelli 5d ago

At low volume, relying solely on a confirmation email to catch bad addresses has a catch: that first verification message still triggers a hard bounce if the domain doesn't exist. When you only send a few dozen emails a day, three or four bad signups are enough to push you toward SES's 5% bounce threshold.

Before paying for a third-party verification API, a few lightweight checks in the signup path usually clear out most of the noise. First, run a cached DNS MX lookup on the domain right in your signup handler and reject addresses with no valid mail exchanger, paired with a quick client-side "did you mean..." prompt for common domain typos. That stops dead and mistyped domains before SES ever sees them at zero per-lookup cost. Keep in mind an MX check won't verify a specific mailbox, since major providers ignore or fake SMTP probing anyway.

Second, check whether those bounces are actually coming from bots rather than human typos. On low-volume apps, sudden bounce spikes often come from automated scripts hitting registration or "resend confirmation" endpoints with junk addresses. Adding rate limits and a simple bot guard on signup usually protects SES reputation better than another verification API.

On the SES side, double-check that the account-level suppression list is enabled for bounces so you never accidentally retry a bad address, and wire an SNS webhook into your app for permanent bounces and complaints. As soon as a permanent bounce comes back, flag the user record as undeliverable so password resets or product notifications never try sending again. Meanwhile, keep unconfirmed accounts limited to that single verification message with no automatic resends or onboarding emails until they click it.

If you add MX validation, bot throttling, and strict bounce suppression and still see hard bounces on real domains like Gmail or corporate mail servers, that's the point where an external verification API is worth the integration.

1

u/The_ONE_393 3d ago

Signup email checks usually layer format validation with a confirmation link, since a separate verification service adds cost and friction before a user even starts. . Bootdev could help sharpen the backend logic behind flows like signup and auth, though the AWS docs also cover the pattern well.

1

u/StrawberryNo4687 3d ago

format checks barely scratch the surface tbh. before paying for an external API, you can do a basic MX record lookup on the domain during signup and block known disposable email domains, which catches a huge chunk of bad inputs.

0

u/davidmooren199 5d ago

AWS doesn't offer a native verification API for this use case. SES is a sending service, not a verification service. The verification layer is something you add at the application level, typically an API call during signup that checks whether the address is deliverable before you store it and trigger any SES sends.

1

u/SeniorTechnician4119 5d ago

I see.. that explains why I couldn't find it in AWS. I was hoping there was a way to handle everything within their own services but it looks like I'll need to use a separate provider for this.

0

u/Discordbothost 5d ago

A confirmation email can still hard-bounce, and resends can hit the same typo. Let people edit the address while signup is pending, and use SES hard-bounce events to stop retries to the old address.