Created a separate entity for logging sent emails