Reading emails via pop3 or imap from localhost crashes node-red

What version of node-red-node-email-variable are you using? The current is 1.0.6

I see you are using node.js 18 which, unless I have missed an announcement, is not yet recommended, though I suspect that is not the issue. Supported Node versions : Node-RED