I&#039m looking for a way to flag users to specify a new email address if a previous message was returned undeliverable. It seems the best way would be to pull the address out of emails returned to a particular address and update a flag in a database so that when they log in, they are notified of the error. The problem seems to be extracting the addresses from the email. Has anyone done this before?