Add code to implement email alteration