sending emails works now