Changed EmailClient to log all emails