zohomail.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.
Folders
create
folders.create
Create a new folder
Risk: write
Output
delete
folders.delete
Delete a folder along with its emails and sub-folders [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
Output:
void
get
folders.get
Get a specific folder
Risk: read
Output
list
folders.list
List all mail folders
Risk: read
Output
folders full type
folders full type
update
folders.update
Rename, mark all emails read, or empty a folder
Risk: write
Output:
void
Messages
delete
messages.delete
Permanently delete an email [DESTRUCTIVE · IRREVERSIBLE]
Risk: destructive · Irreversible
Output:
void
get
messages.get
Get a specific email with its content
Risk: read
Output
list
messages.list
List emails in a folder
Risk: read
Output
messages full type
messages full type
markRead
messages.markRead
Mark emails as read
Risk: write
Output:
void
markUnread
messages.markUnread
Mark emails as unread
Risk: write
Output:
void
move
messages.move
Move emails to another folder
Risk: write
Output:
void
send
messages.send
Send an email to one or more recipients
Risk: write
Output