Fix unhandled UnicodeDecodeError in call to logger for emails.

This makes the calls to log incoming emails (if debugging is enabled)
less strict about unicode encoding, and also catches
UnicodeDecodeErrors (in addition to UnicodeErrors).
Log incoming email addresses if SAFE_LOGGING is disabled.