added process.env, not working for emails