Added logging about skipped mails and reason for skipping.