Skip to content

Other Mail Commands

@mail/clear [<msg-list> | all]
@mail/unclear [<msg-list> | all]
@mail/purge

@mail/clear marks mail in the current folder as cleared, and @mail/unclear takes the mark off. Cleared mail is kept, and can be uncleared, until you purge it. With no msg-list, every message in the current folder is cleared; with all, every message in every folder.

@mail/purge deletes all of your cleared mail, in every folder.

@mail/tag [<msg-list> | all]
@mail/untag [<msg-list> | all]

These tag or untag mail in the current folder. Other commands then act on every tagged message when given tagged as the msg-list, and leave the tags on. With no msg-list, every message in the current folder is tagged or untagged; with all, every message in every folder.

To clear all mail from Paul and Chani:

> @mail/tag *paul
> @mail/tag *chani
> @mail/clear tagged
> @mail/untag all

@mail/unread [<msg-list> | all]
@mail/status [<msg-list> | all]=<status>

@mail/unread marks messages you have read as new again.

@mail/status sets the status of the given messages. <status> is one of tagged, untagged, cleared, uncleared, read, unread, urgent or unurgent. read marks a new message read without showing it, urgent and unurgent set and clear the urgent flag, and the others do what @mail/tag, @mail/untag, @mail/clear, @mail/unclear and @mail/unread do.