From contact method | Mike's Email Contact Method |
---|---|
Item | Deme Email integration plan |
Item version number | 24 |
1. When Deme sends outgoing emails (to distribute comments that have been posted either by email or web), the subject line is the name of the top comment in the thread (with an optional prefix).
2. When someone posts a comment via web, Deme uses their comment name whether it is a reply or top comment to store in the database and display on the web. However, the only time this is seen in email is for the top comment of a thread.
3. When someone posts via email, we determine whether it is a top comment (a) or a reply (b) based on the recipient address we receive it at.
(a) If Deme receives a top comment via email, the subject line becomes the comment name. We should not have to strip out any prefix-in-square-brackets or Re/Fwd because presumably this was a new email the sender initiated on his own.
(b) If Deme receives a reply comment via email, the subject line is ignored. The comment name is "Re: [parent comment name]". Two possible variations: first, we could use the top comment name instead of the parent comment name (since these could vary when people post on the web); and second, we could omit the Re: prefix if there already is one.