fixed bug with email sending - using the same name everywhere