{"version":"1.0","type":"rich","title":"Node.js email handling examples","description":"This example demonstrates a complete round-trip email workflow in Node.js, showing how to send and receive messages with attachments. It sends an image file via SMTP using EmailJS, then connects to an IMAP server with node-imap to search for unread messages from the sender, parses them with MailParser, and writes any attachments back to disk. The scripts rely on a shared JSON config file for account credentials and server settings, and both the send and receive operations are driven by callback-based asynchronous flows.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-2329934?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}