---
name: "himalaya-imap"
section: "1"
platform: "linux"
package: "himalaya"
version: "2.2.1-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/himalaya-imap"
---

# himalaya-imap(1)

IMAP-specific API

## NAME

imap - IMAP-specific API

## SYNOPSIS

**imap** \[**-h**\|**--help**\] \<*subcommands*\>

## DESCRIPTION

IMAP-specific API.

Each subcommand carries the name of its RFC 3501 counterpart, laid out as the flat command list the protocol itself is.

## OPTIONS

- **-h**, **--help**

  Print help (see a summary with '-h')

## SUBCOMMANDS

- imap-id(1)

  Exchange identification parameters with the server (ID, RFC 2971)

- imap-select(1)

  Select the given mailbox (SELECT, RFC 3501)

- imap-create(1)

  Create the given mailbox (CREATE, RFC 3501)

- imap-delete(1)

  Delete the given mailbox (DELETE, RFC 3501)

- imap-rename(1)

  Rename the given mailbox (RENAME, RFC 3501)

- imap-subscribe(1)

  Subscribe to the given mailbox (SUBSCRIBE, RFC 3501)

- imap-unsubscribe(1)

  Unsubscribe from the given mailbox (UNSUBSCRIBE, RFC 3501)

- imap-list(1)

  List mailboxes (LIST and LSUB, RFC 3501)

- imap-status(1)

  Get the status of the given mailbox (STATUS, RFC 3501)

- imap-close(1)

  Close the selected mailbox (CLOSE, RFC 3501)

- imap-unselect(1)

  Unselect the selected mailbox (UNSELECT, RFC 3691)

- imap-expunge(1)

  Expunge the given mailbox (EXPUNGE, RFC 3501)

- imap-search(1)

  Search messages (SEARCH, RFC 3501)

- imap-sort(1)

  Sort messages (SORT, RFC 5256)

- imap-thread(1)

  Thread messages (THREAD, RFC 5256)

- imap-store(1)

  Store flags on messages (STORE, RFC 3501)

- imap-flag(1)

  List the flags a mailbox allows (SELECT response, RFC 3501)

- imap-fetch(1)

  Fetch message data items (FETCH, RFC 3501)

- imap-append(1)

  Append a message to a mailbox (APPEND, RFC 3501)

- imap-copy(1)

  Copy messages to the given mailbox (COPY, RFC 3501)

- imap-move(1)

  Move messages to the given mailbox (MOVE, RFC 6851)

- imap-raw(1)

  Send raw IMAP commands and print the verbatim server response

- imap-help(1)

  Print this message or the help of the given subcommand(s)
