Added an option to disable email notifications.