Commit Graph

100 Commits

Author SHA1 Message Date
Dave Conway-Jones 490a3d8d37
Fix up readme - and bump deps
to close #1003
2023-05-29 21:59:40 +01:00
Dave Conway-Jones 9f9d293461
Add email option for no authentication
to close #989
Bump to v2 (remove external cred file hack)
2023-04-24 22:17:39 +01:00
Dave Conway-Jones bd23b5e3d3
Bump email to update mailparser as well 2023-03-27 23:18:14 +01:00
wooferguy 9a57958a1e
XOAuth2 for Email-In node (#975)
* Update PULL_REQUEST_TEMPLATE.md

* Add new UI elements to Email In node

Locale for en-US
Added Auth type and Token field to Email IN
Dynamically appear based on selection

* XOAUTH2 IMAP

Minor UI changes. Exposing only XOAuth2. Picks up raw access token from input message specified.

Only works for IMAP
Token formatted by node for Exchange and GMail, won't work on other providers.
Only works on trigger, not timer

TODO:
Add POP XOAUTH2 capability
Add SMTP XOAUTH2 capability
Add option to pass SASL XAOUTH2 token rather than raw OAUTH2 token

* SASL Format

Added checkbox to turn off SASL formatting if the user wants to do this themselves

* XOAuth2 forces input

Using XOauth2 forces triggered node, and automatic trigger sets auth to basic;
XOAuth2 needs token from flow

* Error reporting

Password missing error only occurs if set to basic authentication.

Token missing only occurs if set to XOAuth2.

* Unit tests

Make sure basic authentication is selected by default, and that an additional input is created and timed triggers are turned off for XOauth2

* Cleanup and README

Remove old code, update readme

* XOauth2 IMAP Release

Prevent XOAuth2 being used for POP. Update PR Template.
Updated help file.
Bumped version to 1.19-beta

* Update POP3 dependency

Removed dependency to poplib.js, moved to node-pop3. Re-wrote checkPOP3 function asynchronously using the new library. Added some node.status changes to mimic IMAP behaviour.

* XOAUTH2 POP3

Added checking for authentication type to allow XOauth2 tokens to be sent to POP server. Turned off UI restrictions for this functionality.

* XOAUTH2 POP3 Release

Updated help docs and version to reflect changes.

* Add new UI elements to Email Out node

Add option for XAouth2 for SMTP node

* XOAUTH2 SMTP

Exposing functionality for OAuth2 through Nodemailer. Added some error reporting if credentials are missing to match the Email-In node.

* XOAUTH2 SMTP Release

Updated help file to reflect changes.

* Unit Tests for Email Out

Modified tests to allow these unit tests to pass, but does not address the fault caused by the Node Test Helper - credentials only loaded after the flow has been loaded.

---------

Co-authored-by: Dave Conway-Jones <dceejay@users.noreply.github.com>
2023-03-27 20:27:47 +01:00
Dave Conway-Jones 480ada0543
bump nodemailer version 2023-03-27 20:23:48 +01:00
Dave Conway-Jones 9bae313b72
revert mailparser to fix node12 (for now) 2022-12-24 14:03:49 +00:00
Dave Conway-Jones b046740e7f
Update package.json 2022-12-22 11:45:00 +00:00
Dave Conway-Jones bb0a6fd272
bump email packages 2022-12-22 11:39:36 +00:00
Dave Conway-Jones b9053cf962
email - better cleanup of deleted messages ? 2022-12-22 11:38:00 +00:00
Dave Conway-Jones c3a5716fe7
Let email node be able to send blank topic
and let msg.description be " also
to close #959
2022-11-08 13:52:37 +00:00
Dave Conway-Jones 4c0ecc70bc
add smtp keywords 2022-10-29 16:51:14 +01:00
Dave Conway-Jones 06c9bd65a7
Let email node better report catchable connection errors
to close #956
2022-10-16 17:50:39 +01:00
Dave Conway-Jones 4a1f3dd749
Bump nodemailer lib to latest 2022-10-14 13:36:58 +01:00
Dave Conway-Jones 543afd119a
bump to email libs and doc to remove old insecure access ref. 2022-08-23 14:32:34 +01:00
Dave Conway-Jones 6830ce4fba
email node - add done capability to retrieving mail node. 2022-07-19 12:59:41 +01:00
Dave Conway-Jones 8431e624f7
Bump email node dependencies 2022-06-29 10:01:16 +01:00
Dave Conway-Jones 8ca551d4bd
Bump email libs 2022-04-08 13:27:54 +01:00
Dave Conway-Jones fb9c90f68c
fix email inreplyto to do the sensible thing 2022-03-19 10:31:40 +00:00
Dave Conway-Jones 1a7077c938
bump email node 2022-02-24 17:15:22 +00:00
Dave Conway-Jones e6930274e2
Bump email
and include poplib to avoid example warning.
2022-01-01 19:11:01 +00:00
Sam Machin 2d28a2304f
Update package.jsons for mono-repo (#851)
Update the package.json for each node to point to the directory within the repo that hosts the code for the package in question.  as per https://docs.npmjs.com/cli/v7/configuring-npm/package-json#repository
2021-11-02 15:22:30 +00:00
Dave Conway-Jones 5db644bd57
bump some libs - email, annotate image, core 2021-10-27 14:03:49 +01:00
Dave Conway-Jones c5bd7da8dc
bump for doc updates 2021-07-31 09:35:52 +01:00
Dave Conway-Jones 761bb30ada
Email node - better handling of criteria errors 2021-07-16 14:41:12 +01:00
Dave Conway-Jones 4859a8bcc0
bump email deps for cve
to close #815
2021-06-30 09:08:09 +01:00
Dave Conway-Jones 0d1a41f18a
clarify email node tls? option flag 2021-05-11 09:22:09 +01:00
Dave Conway-Jones 246463752e
Add StartTLS option to email node 2021-04-15 10:32:40 +01:00
Dave Conway-Jones 61a03d7cc3
Tidy email node README to remove false "only one mail" statement.
and tidy some other newer functionality. like plaintext.
to close #792
2021-04-03 16:55:45 +01:00
Dave Conway-Jones 1c256fd3b3
refix email attachments array 2021-04-01 09:36:36 +01:00
Dave Conway-Jones c1e83bf06f
Email - nsure imap tries to disconnect nicely first.... then destroy
to close #784
2021-03-28 16:55:28 +01:00
Dave Conway-Jones ed45d5622b
bump email package for de translations 2021-03-25 09:48:03 +00:00
Dave Conway-Jones 169be33591
bump tail, sqlite, email, feedparser, pigpiod for German translations 2021-03-13 14:15:58 +00:00
Dave Conway-Jones 14983c9722
mail - check attachment valid contents if possible
to close #728
2021-01-12 12:41:41 +00:00
Dave Conway-Jones 07e5d9fd65
email node - add msg.priority and msg.headers options 2020-10-26 09:08:10 +00:00
Dave Conway-Jones 6f351943cb
email node - remove promises for node8
and fixup tests
2020-10-19 21:33:32 +01:00
Dave Conway-Jones 14087a9f77
Add MTA node to email 2020-10-19 12:24:18 +01:00
Dave Conway-Jones d3a3bc158c
email - show valid folders in error if fetch fails 2020-09-23 23:54:09 +01:00
Dave Conway-Jones 973fd8c6ec
bump email package version 2020-09-23 10:20:58 +01:00
Dave Conway-Jones 46f3dfc382
email don't retry connection while still busy. 2020-08-28 09:36:06 +01:00
Dave Conway-Jones 0b590236a0
bump some node-red-node deps and packages
some due to  long outstanding doc PRs
2020-04-03 22:29:43 +01:00
Dave Conway-Jones 55f6609a4f
Fix email node timeout when triggered manually 2020-02-09 14:11:54 +00:00
Dave Conway-Jones 5780b2a5c3
slight adjust email retry timeout 2020-01-31 21:46:42 +00:00
Dave Conway-Jones 90a00279c0
add note re criteria to email in node
and change x-red to html
2020-01-28 18:15:28 +00:00
Dave Conway-Jones f1ff7fe707
bump to catch PR re attachments and update libs 2020-01-08 09:26:46 +00:00
Dave Conway-Jones 3d60aa4c00
bump sentiment, rbe, email, feedparser, twitter, tail nodes
Locale files moved out
2019-12-05 21:36:59 +00:00
Dave Conway-Jones 9f27cda34f
bump email version 2019-11-09 12:00:58 +00:00
Hiroyuki Okada d53bd47f44 update mailparser & nodemailer (#599) 2019-11-09 11:58:53 +00:00
Dave Conway-Jones a318dc56ff
better escape for node-red without done. 2019-09-26 13:39:25 +01:00
Dave Conway-Jones 1f0ab0937d
Add done/complete to email node
and fix .from field
2019-09-24 21:44:56 +01:00
Dave Conway-Jones 6682320c97
Add gmail access info to readme and info 2019-08-29 15:49:38 +01:00