clean up mail_to and links