mozilla / fx-private-relay

Keep your email safe from hackers and trackers. Make an email alias with 1 click, and keep your address to yourself.
https://relay.firefox.com
Other
1.47k stars 176 forks source link

When a user deletes an address, hard bounce it and prevent future users from getting the same address #79

Open groovecoder opened 4 years ago

groovecoder commented 4 years ago

When a user deletes an address, we still need to:

To do this AND still delete our record of the plaintext email address:

  1. [x] Insert the deleted address into a new emails.deleted_addresses table
  2. [x] Delete the address from the emails.relay_address table
  3. [ ] Hard bounce all emails sent to unknown addresses
groovecoder commented 4 years ago

SocketLabs may not have an API to bounce emails sent to unknown/deleted addresses.

Amazon SES has a CreateReceiptRule API so we could create bounce rules for addresses that are deleted.