ensure write after email