There is a bug in postman where when callbacks are processed, we blacklist the recipient of the email instead of the emails in the bouncedRecipients field of the Bounce object. AWS docs
Due to the introduction of the CC and BCC feature, this method of blacklisting emails is incorrect. (e.g if an email to a CCed user bounces, the recipient is blacklisted instead)
Approach
I modified the way we retrieve blacklisted users to make of the bouncedRecipients field.
Context
There is a bug in postman where when callbacks are processed, we blacklist the recipient of the email instead of the emails in the
bouncedRecipients
field of theBounce
object. AWS docsDue to the introduction of the
CC
andBCC
feature, this method of blacklisting emails is incorrect. (e.g if an email to aCCed
user bounces, the recipient is blacklisted instead)Approach
I modified the way we retrieve blacklisted users to make of the
bouncedRecipients
field.Deploy Notes
N/A