prepare config for email notification
help info
validate parameters