trying to make email work
added a console log