use correct emailsender reference