get_profile
Verify which mailbox and server build are connected before bulk actions, or when a documented field seems missing. Returns account email, message counts, version and install path.
Instructions
Return the authorized account: email address plus total message/thread counts, and WHICH SERVER is answering: serverVersion (the bare version ONLY for a release build; anything else names its commit, e.g. 0.23.0+a5ff4a7, +a5ff4a7.dirty when built from uncommitted sources, +unknown when the build left no record), build (commit, dirty, release, builtAt; absent when unknown), serverPath (the directory the running code was loaded from — an npm install, an npx cache or a clone's dist/) and account (the named mailwarden account, or (default)). USE WHEN: confirming WHICH mailbox is connected before a bulk or filter action, as a cheap liveness check, or when a tool or field documented for a version seems missing — serverVersion says whether the running build is the one you think, and serverPath which install it is. DO NOT USE: to enumerate messages — this returns only counts, not a listing (use search). SIDE EFFECTS: none.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| build | No | ||
| account | Yes | ||
| historyId | Yes | ||
| serverPath | Yes | ||
| emailAddress | Yes | ||
| threadsTotal | Yes | ||
| messagesTotal | Yes | ||
| serverVersion | Yes |