Set email null if empty when editing a custom.