@@ -31,14 +31,6 @@ class node. Any parts of other types are each stored in separate files
3131 special handling of the first text part) if unpack_rfc822 is set in
3232 the mailgw config section.
3333
34- Summary
35- -------
36- The "summary" property on message nodes is taken from the first non-quoting
37- section in the message body. The message body is divided into sections by
38- blank lines. Sections where the second and all subsequent lines begin with
39- a ">" or "|" character are considered "quoting sections". The first line of
40- the first non-quoting section becomes the summary of the message.
41-
4234Addresses
4335---------
4436All of the addresses in the To: and Cc: headers of the incoming message are
@@ -54,10 +46,26 @@ class node. Any parts of other types are each stored in separate files
5446
5547Actions
5648-------
57- The subject line of the incoming message is examined to determine whether
58- the message is an attempt to create a new item or to discuss an existing
59- item. A designator enclosed in square brackets is sought as the first thing
60- on the subject line (after skipping any "Fwd:" or "Re:" prefixes).
49+ The subject line of the incoming message is examined to determine
50+ whether the message is an attempt to create a new item, discuss an
51+ existing item, or execute some other command.
52+
53+ If the subject consists of one of the following (case insensitive),
54+ the corresponding action is taken:
55+
56+ help
57+ Respond with an explanation of this interface.
58+
59+ If the subject contains the following, the corresponding action is
60+ taken:
61+
62+ -- key <OneTimeKey>
63+ Complete an in-progress user registration.
64+
65+ If the email is not a command, it is either a new item or a message
66+ associated with an existing item. A designator enclosed in square
67+ brackets is sought as the first thing on the subject line (after
68+ skipping any "Fwd:" or "Re:" prefixes).
6169
6270If an item designator (class name and id number) is found there, the newly
6371created "msg" node is added to the "messages" property for that item, and
@@ -68,6 +76,14 @@ class node. Any parts of other types are each stored in separate files
6876"msg" node and its "files" property initialized to contain any new "file"
6977nodes.
7078
79+ Summary
80+ -------
81+ The "summary" property on message nodes is taken from the first non-quoting
82+ section in the message body. The message body is divided into sections by
83+ blank lines. Sections where the second and all subsequent lines begin with
84+ a ">" or "|" character are considered "quoting sections". The first line of
85+ the first non-quoting section becomes the summary of the message.
86+
7187Triggers
7288--------
7389Both cases may trigger detectors (in the first case we are calling the
0 commit comments