Refactored sheet_emails controller