exception notification for production and staging servers

send out an email automatically