Prevents from sending email on dev/staging environments