Modify email trigger