Added env. variable for sending emails