The Error comes from the email node. But the root cause is probably something else, potentially IPv6 related. I'm quite new to this so no experience in debugging at this level.
I used this script to install Node Red
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
from Running on Raspberry Pi : Node-RED
In the outputs below I've removed (what I believe can be ) identifying data, change are within
ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether [xx:xx:xx:xx:xx:7c] brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether [xx:xx:xx:xx:xx:7d] brd ff:ff:ff:ff:ff:ff
inet 192.168.1.115/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
valid_lft 65492sec preferred_lft 54692sec
inet6 [fe80::xxxx:xxxx:xxxx:3759]/64 scope link
valid_lft forever preferred_lft forever
4: ztugayhmgh: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 2800 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/ether [xx:xx:xx:xx:xx:xx] brd ff:ff:ff:ff:ff:ff
inet 172.22.185.220/16 brd 172.22.255.255 scope global ztugayhmgh
valid_lft forever preferred_lft forever
inet6 [fe80::xxxx:xxxx:xxxx:4f29]/64 scope link
valid_lft forever preferred_lft forever
dig smtp.gmail.com
; <<>> DiG 9.16.33-Raspbian <<>> smtp.gmail.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35278
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;smtp.gmail.com. IN A
;; ANSWER SECTION:
smtp.gmail.com. 189 IN A 108.177.15.109
;; Query time: 9 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Thu Oct 13 14:10:50 CEST 2022
;; MSG SIZE rcvd: 59
ping smtp.gmail.com
PING smtp.gmail.com (142.251.5.108) 56(84) bytes of data.
64 bytes from wg-in-f108.1e100.net (142.251.5.108): icmp_seq=1 ttl=102 time=33.4 ms
64 bytes from wg-in-f108.1e100.net (142.251.5.108): icmp_seq=2 ttl=102 time=33.5 ms
ping6 smtp.gmail.com
ping6: connect: Network is unreachable