redo emails
bug fix