Better handling of bounced emails
Whenever we detects something wrong with your site it can send you a notification. We have multiple channels available: Slack, Telegram, webhooks, and many more. The most popular channel our users use is just a simple mail.
Behind the scenes, Oh Dear uses Postmark to send out mails. Postmark will inform us whenever a notification mail results in a hard bounce. A hard bounce means that the mail won't be delivered. The most common reason for this is that the mailbox doesn't exist (anymore). This can occur when somebody changed jobs and the work email address doesn't exist anymore.
Whenever Postmark informs us about a hard bounce, Oh Dear will determine which team that email belongs to. It wil send a mail to the owner of the Oh Dear team asking to correct the email address or to remove the member from the team.
For most cases this is fine, but what if it is the email address of the team owner itself that bounced? In this case we obviously can't mail the team owner anymore.
As of today, whenever an users logs in who's email has bounced (team owner and other members), we'll display a warning to update their email address. Here's how that looks.
We hope that this will be let people understand faster why they didn't get an alert they were expecting.