only send email if APPLICATION_ENV === production