Filtering incoming emails
Email notifications in Tracker contain service headers that can be used for processing messages. You can set up header filters to move notifications to a separate folder, mark emails with a specific label, or delete unwanted messages.
The list of headers is provided in the Header descriptions table.
For more information about viewing email properties and headers, see Yandex Mail Help.
Creating a rule for processing emails
Let's examine how to set up a rule for filtering emails in Yandex Mail. For example, to move notifications about comment replies to a separate folder, set up a rule for filtering emails by the X-Startrek-Answer header.
-
In the top right corner of the Yandex Mail interface, click → All settings.
-
Select Rules for processing emails.
-
Click Create rule.
-
Under Apply to, select the type of email to which you want to apply the rule.
-
Under If, select the Header condition and enter
X-Startrek-Answerin the window that opens. -
Select Matches and enter
yes. -
Under Take the following action, choose what you want to do with the email: move to folder.
-
Enable the Ignore other filters option if needed.
-
If you want to name the rule, click the enter a name link.
-
Click Create rule.
For instructions on how to create rules, see Yandex Mail Help.
Header descriptions
| Header | Comment | Example |
|---|---|---|
| X-Startrek | This header indicates a message received from Tracker | Yes |
| X-Startrek-Key | Issue key | TEST-1 |
| X-Startrek-Priority | Priority | Normal |
| X-Startrek-Reporter | Issue author | cheshire.katze@yandex-team.ru |
| X-Startrek-IssueType | Issue type | Task |
| X-Startrek-Assignee | Assignee | cheshire.katze |
| X-Startrek-EntityType | Entity type: Project, portfolio, or goal | Portfolio |
| X-Startrek-EntityId | ID of an entity (project, portfolio, or goal) | 655f328da834c763******** |
| X-Startrek-EntityShortId | Short ID of an entity (project, portfolio, or goal), optional | 12345 |
| X-Startrek-Tags | Tags | Relocation |
| X-Startrek-From | The user who initiated sending the notification (for example, the one who updated the issue last) | cheshire.katze@yandex-team.ru |
| X-Startrek-Cc | Issue followers | cheshire.katze@startrek-cc |
| X-Startrek-Component | Issue components | 5075543ae4b03135cc676db1@startrek-component |
| X-Startrek-QA-Engineer | QA engineer field value. Only available if the field is not empty. | cheshire.katze |
| X-Startrek-Changed | Updated fields. Only available if the field values were edited. Not available when creating an issue | Followers,Type,Queue,Key,Tags |
| X-Startrek-Fix-Version | Fix in versions field value | Release_05.07.2016 |
| X-Startrek-Affected-Version | Affected version field value | 0.1.2 |
| X-Startrek-FingerPrint | Backend MAC address hash | 2b953364 |
| X-Startrek-Old-Status | Old issue status | Testing |
| X-Startrek-New-Status | Current issue status | Testing |
| X-Startrek-Summon | Present if a message is a notification about an invitation to comments | Yes |
| X-Startrek-Answer | Present if a message is a notification about a comment reply | Yes |
| X-Startrek-Queue | Key of the issue queue | TEST |
| X-Startrek-Voted | Present if you voted for this issue | Yes |
| X-Startrek-Favorite | Present if the issue is in your favorites | Yes |