added logging to the email adapter