add config for email