replaced email with environment variables