Shift3 / standards-and-practices

Standards and Practices for Bitwise Industries
https://shift3.github.io/standards-and-practices/
63 stars 41 forks source link

[Feat]: Email standard around bouncing and invalid emails #318

Closed michaelachrisco closed 2 years ago

michaelachrisco commented 2 years ago

Is your feature request related to a problem? Please describe.

At the moment, we are getting bounced emails from SES regarding invalid email addresses from multiple node boilerplate projects.

Describe the solution you'd like.

We should provide a warning to developers to use valid emails when testing out SES emails. We should also take a look to see if we can remove emails from being sent out via unit tests and/or development machine seeding by mistake.

Screenshots

Screen Shot 2021-10-28 at 11 57 02 AM

Describe alternatives you've considered

No response

Additional context

If one needs to test if an email is set out via their development machine, @mwallert provided an excellent resource here: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-simulator.html#send-email-simulator-how-to-use covering the topic. This enables success+salesrep2@simulator.amazonses.com and other such email addresses. We should also take a look at any other known good email addresses that wont be counted against us.