added more logging to the incoming email handler