Updated Logger to email; was writing to a file