Adds email sending configuration via env vars.