Fixed bug where new was not recognized by emailSender