changed getEmailTimes to export doneThat, now check before sending