---
title: "JMWE Cloud: Send emails to members of groups excluding selected members"
canonical: "https://support.appfire.com/space/SUPPORT/1894809821/JMWE%20Cloud%3A%20Send%20emails%20to%20members%20of%20groups%20excluding%20selected%20members"
format: markdown
---
JMWE’s <u>[Email issue post function](https://appfire.atlassian.net/wiki/spaces/JMWEC/pages/466322658)</u> lets you send emails to members of selected groups. However, to exclude certain users, you must write a Nunjucks script to filter them out manually.

## \uD83D\uDCD8 Instructions

This can be done using the following configuration in the JMWE <u>[Email issue post function](https://appfire.atlassian.net/wiki/spaces/JMWEC/pages/466322658)</u>:

1. Select “Users from template” instead of “Specific groups” or “Groups from template”
2. Use the following script:

> ℹ️ Replace `group-name` with the appropriate group name and `Omitted User` with the display name of the user you want to exclude. This script omits users based on their Jira display names.

## \uD83D\uDCCB Related articles



> Macro (contentbylabel)