adding email callback