refactoring email_sender to class and adding to projects and todos