added somethign to handle empty strings in email sender