rdancer / arbor-message-forwarder

Restore reply functionality in Arbor.sc by having all messages forwarded to your e-mail.
Other
0 stars 0 forks source link

Listen in on the IMAP for new messages, and use them as push notifications #4

Open rdancer opened 5 months ago

rdancer commented 5 months ago

Arbor sends an e-mail every time a new message appears, but this e-mail is only a "you have mail" notification, it does not actually contain the message, or even a link to the message.

  1. Instead of polling, only download each message from the Arbor website in response to the notification e-mail appearing in the IMAP inbox.
  2. Delete the notification once the message has been inserted into the IMAP inbox
    • this adds the benefit of, if something should go wrong with the program, having the notification message in the inbox; this way the user is at least alerted something went wrong