1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

Updated Email (markdown)

Neil Kolban 2016-03-06 19:23:23 -06:00
parent 69c16183e3
commit 91e0a7541d

@ -8,4 +8,13 @@ As of 2016-03-06, the node has dependencies on:
* [imap](https://www.npmjs.com/package/imap)
## Reading emails
The current implementation uses the [IMAP](https://en.wikipedia.org/wiki/Internet_Message_Access_Protocol) protocol to interact with a back-end IMAP provider. The very last email seen is received and the message added to an emitted event.
The current implementation uses the [IMAP](https://en.wikipedia.org/wiki/Internet_Message_Access_Protocol) protocol to interact with a back-end IMAP provider. The very last email seen is received and the message added to an emitted event. If the email body is plain text, it is added to `msg.payload`. If the email body is HTML, it is added to `msg.html`.
### Future enhancements
There are a number of potential enhancements available to the email node that can be addressed. These include:
* Support of IMAP that is not over SSL/TLS.
* Support for self-certified SSL certificates.
* Support for attachment processing.
* Support for POP3 as well as IMAP.
* Support for more than just last message processing.