npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

n8n-nodes-imap

v2.15.0

Published

This node allows you to connect to an IMAP server and retrieve emails.

Downloads

51,723

Readme

n8n-nodes-imap

This is an n8n community node that adds support for IMAP email servers.

Installation

Follow the installation guide in the n8n community nodes documentation.

Use n8n-nodes-imap in N8N settings to install the stable version.

To install beta version, use n8n-nodes-imap@beta.

NPMJS: n8n-nodes-imap

Operations

  • Mailbox
    • Get list of mailboxes (including status information like number of messages)
    • Get status of a mailbox (number of messages, etc.)
    • Create a mailbox
    • Rename a mailbox
    • ~Delete a mailbox~ (disabled due to danger of accidental data loss and no apparent use case)
  • Email
    • Get list of emails in a mailbox
    • Download attachments from an email
    • Permanently delete an email from a mailbox
    • Move an email to another mailbox
    • Copy an email into another mailbox
    • Set/remove flags on an email ("seen", "answered", "flagged", "deleted", "draft")
    • Create email draft in a mailbox
      • Use n8n-nodes-eml node to create complex emails. It supports attachments and other features.

Credentials

Currently, this node supports only basic authentication (username and password).
OAuth2 authentication is not supported yet.

NOTE: You can reuse core N8N IMAP Trigger node credentials for this node.

Troubleshooting & Debug

If you encounter issues with the IMAP node, you can enable debug mode to get detailed logs and diagnostic information:

Enable Debug Mode

Set the following environment variable before starting n8n:

N8N_NODES_DEBUG_ENABLED=true

When debug mode is enabled:

  • The IMAP node will create an additional "debug" output containing detailed logs
  • Enhanced error messages and diagnostic information will be available
  • Connection and operation details will be logged for troubleshooting

Getting Debug Information

  1. Set environment variables:

    N8N_LOG_LEVEL=debug
    N8N_NODES_DEBUG_ENABLED=true
  2. Restart your n8n instance

  3. Execute your workflow - the IMAP node will now provide debug output

  4. Check the debug output - connect the debug output to a Set node or similar to view the diagnostic information

Reporting Issues

When reporting bugs or issues:

  • Always enable debug mode first
  • Include the debug output in your issue report
  • Remove any sensitive information (passwords, email addresses, etc.) from logs
  • Use our issue templates for structured bug reports