Fix enable flag for email sending