canonical-emails
canonical-emails copied to clipboard
Combine email validation and transformations to produce canonical email addresses.
Gmail ignores all text after a '+' in the local part of an email address: an email sent to '[email protected]' will arrive at '[email protected]'.
Seems similar to gmail's: http://www.usatoday.com/story/tech/columnist/2014/07/06/extra-email-address-alias/12079295/.
I'm only 50% convinced that this belongs in this gem. Once the email was canonicalized, combine it with RFC validation. Maybe https://github.com/hallelujah/valid_email? This was prompted by a discussion around the...