Sending emails now works