Fix email problem in development