@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
at upstream/main 69 lines 2.6 kB view raw
1@title User Guide: Managing Phorge Email 2@group userguide 3 4How to effectively manage Phorge email notifications. 5 6Overview 7======== 8 9Phorge uses email as a major notification channel, but the amount of email 10it sends can seem overwhelming if you're working on an active team. This 11document discusses some strategies for managing email. 12 13By far the best approach to managing mail is to **write mail rules** to 14categorize mail. Essentially all modern mail clients allow you to quickly 15write sophisticated rules to route, categorize, or delete email. 16 17Reducing Email 18============== 19 20You can reduce the amount of email you receive by turning off some types of 21email in {nav Settings > Email Preferences}. For example, you can turn off email 22produced by your own actions (like when you comment on a revision), and some 23types of less-important notifications about events. 24 25Mail Rules 26========== 27 28The best approach to managing mail is to write mail rules. Simply writing rules 29to move mail from Differential, Maniphest and Herald to separate folders will 30vastly simplify mail management. 31 32Phorge also adds mail headers (see below) which can allow you to write 33more sophisticated mail rules. 34 35Mail Headers 36============ 37 38Phorge sends various information in mail headers that can be useful in 39crafting rules to route and manage mail. To see a full list of headers, use 40the "View Raw Message" feature in your mail client. 41 42The most useful header for routing is generally `X-Phabricator-Stamps`. This 43is a list of attributes which describe the object the mail is about and the 44actions which the mail informs you about. 45 46Stamps and Gmail 47================ 48 49If you use a client which can not perform header matching (like Gmail), you can 50change the {nav Settings > Email Format > Send Stamps} setting to include the 51stamps in the mail body and then match them with body rules. 52 53When writing filter rules against mail stamps in Gmail, you should quote any 54filters you want to apply. For example, specify rules like this, with quotes: 55 56> "author(@alice)" 57 58Note that Gmail will ignore some symbols when matching mail against filtering 59rules, so you can get false positives if the body of the message includes text 60like `author alice` (the same words in the same order, without the special 61symbols). 62 63You'll also get false positives if the message body includes the text of a 64mail stamp explicitly in a normal text field like a summary, description, or 65comment. 66 67There's no way to avoid these false positives other than using a different 68client with support for more powerful filtering rules, but these false 69positives should normally be uncommon.