fixed issue with email message