Add email functionality and configuration options