list_mail_accounts
Retrieve all email accounts configured in Nextcloud Mail, including aliases, to get account IDs for listing mailboxes or sending emails.
Instructions
List all email accounts configured in Nextcloud Mail.
Returns the accounts and their aliases for the current user. Use the account ID to list mailboxes and send emails.
Returns: JSON list of accounts, each with: id, email, aliases.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |