Edited Email Logic