Skip to content
Back to skills

Imap

ASecurity

Read an email inbox over IMAP (list folders, search, and fetch messages) with curl. Use when the user asks about their email or inbox.

  • 69 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 3, 2026
developmentreact

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add intentic/intentic --skill imap --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Imap?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Imap
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/intentic-imap/badge)](https://www.skillsdirectory.com/skills/intentic-imap)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: imap
description: Read an email inbox over IMAP (list folders, search, and fetch messages) with curl. Use when the user asks about their email or inbox.
---

# IMAP inbox (connected)

Server `$IMAP_HOST:$IMAP_PORT`, login `$IMAP_USERNAME` / `$IMAP_PASSWORD`. `curl` speaks IMAP over TLS (imaps://).
Auth on every command: `--user "$IMAP_USERNAME:$IMAP_PASSWORD"`. curl sends `--user` credentials verbatim:
special characters in the password (`#`, `@`, `&`, spaces) are fine as-is. Never URL-encode them and never
put credentials inside the imaps:// URL (URL parsing truncates at `#` and percent-decodes the rest).

- List mailboxes/folders: `curl -s --url "imaps://$IMAP_HOST:$IMAP_PORT" --user "$IMAP_USERNAME:$IMAP_PASSWORD"`
- Unread message UIDs in INBOX: `curl -s --url "imaps://$IMAP_HOST:$IMAP_PORT/INBOX" --user "$IMAP_USERNAME:$IMAP_PASSWORD" -X "SEARCH UNSEEN"`
- Recent since a date: `curl -s --url "imaps://$IMAP_HOST:$IMAP_PORT/INBOX" --user "$IMAP_USERNAME:$IMAP_PASSWORD" -X "SEARCH SINCE 01-Jan-2026"`
- Fetch a message's headers: `curl -s --url "imaps://$IMAP_HOST:$IMAP_PORT/INBOX;UID=<UID>;SECTION=HEADER" --user "$IMAP_USERNAME:$IMAP_PASSWORD"`
- Fetch a whole message: `curl -s --url "imaps://$IMAP_HOST:$IMAP_PORT/INBOX;UID=<UID>" --user "$IMAP_USERNAME:$IMAP_PASSWORD"`

Notes: SEARCH returns UIDs; then fetch by `;UID=`. Read-oriented. Gmail/Outlook need an app password, not the account password.
On `[AUTHENTICATIONFAILED]`: the `--user` form above is correct for ANY password, do not switch to URL-embedded
credentials or encoding. Confirm the var is set without printing it (`printf %s "$IMAP_PASSWORD" | wc -c`);
if it is, the stored password itself is wrong (or the provider requires an app password).
Live reactions: the sandbox also watches the configured mailbox (default INBOX) and can wake automations the
moment mail arrives: when the user wants to *react* to incoming email, suggest a "Listen (live)" automation
instead of a polling schedule.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.