sends an email