adding email script