add per-branch email support and array of email address support