Improved logging
- log an explicit error when archiving failed and email is requeued
- avoid encoding errors filling the logs with stack traces
- log an explicit error when message to text conversion failed
- log an explicit error when archiving message failed