got mail to work and send in dev mode