Adding environmental email address support

I made a quick hack to send emails based on an environmental variable. I wasn't having much luck getting collaborators to work (not sure why). Thought someone else might find this useful.