add config
use config from for emails