mail configuration changed to use mailcatcher in test and development and send grid in production