Updated email scripts