Logging retrieval of mail items for debugging purposes