List email templates
lnkdrp_list_email_templatesThe workspace's email templates this person can see, most recently updated first, without their bodies: name, description, format, align, subject, tags (key, entity, description, required, example), tagsCount, state, visibility, owner and createdBy. Team templates and their own private ones are listed; other people's private templates are not. builtInTags lists the tags LinkDrop fills for each recipient, with what each stands for. query searches the name, subject, description and {{tag}} keys (any part; with no word of three or more letters, the name only), the body as read, tag descriptions and document slot titles (whole words and their forms; "exact phrase" in quotes), and workspace tags (labels), projects and linked documents by name; drafts and older versions are not searched. With a word of three or more letters, rows come best match first and each carries match { in, snippet, name }: in is name, subject, description, tag key, label, project, document or body; snippet is the matching text; name is the {{tag}}, label, project or document. totalCapped true means more than 500 matched and total is a lower bound. searchIn: name searches the name only. More filters, each narrowing the list and the search: format (text or html), madeBy (person or agent), ownerId (a member's id, or me), hasDocument, tagKey (a {{tag}} key), createdFrom and createdTo, updatedFrom and updatedTo (updatedAfter and updatedBefore are their older names), sent (ever sent), hasDrafts (open drafts). order: relevance (the default with a query), updated (the default otherwise), name, newest or mostSent. state: active (the default) or archived; deleted templates are in lnkdrp_list_deleted. visibility filters: team, private (their own private ones), or mine (every template they own). createdBy says who made it: name, via (web, api or mcp) and the agent when known; "Former member" for someone no longer in the workspace. Each row also has labels (the workspace's tags on it, from lnkdrp_tag; not its {{…}} tags) and projects (the projects it is filed under). usage counts how much it was used: drops (the drops that use it, any state), singleEmails (emails sent from it on their own, outside a drop) and emailsSent (every email sent from it); dry runs are not counted, and private drops and emails are counted but not named. projectId keeps the templates filed under that project; docId keeps those with a link slot on that document (a document in a locked project this person is outside gives an empty page); labels keeps those carrying any of the named workspace tags. Dates: a bare date (2026-10-28) is that whole day in the workspace's time zone (UTC when it has none) and a To date includes that day; a time with Z or an offset is that exact instant; the answer's dateRange gives the time zone and the exact instants used. Page-based: total says how many match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number. | |
| sent | No | true: templates an email was ever sent from. false: none sent yet. | |
| docId | No | Only email templates with a link slot on this document (24 hex chars). | |
| limit | No | Templates per page (1-100). | |
| order | No | relevance: best match (the default with a query). updated: last edited first (the default otherwise). name: A-Z. newest: created most recently. mostSent: most emails sent. | |
| query | No | Searches name, subject, description, body text, {{tag}} keys, workspace tags, projects and linked document names, case-insensitively. Body text matches whole words and their forms; "exact phrase" in quotes. | |
| state | No | active (default): templates in use. archived: kept templates that cannot be edited or used to render until unarchived. | |
| format | No | Only templates of this format. | |
| labels | No | Only email templates carrying any of these workspace tags (lnkdrp_tag), by name or slug (1-20). | |
| madeBy | No | person: made in the app. agent: made through the API or an agent. | |
| tagKey | No | Only templates that declare this {{tag}} key, e.g. contact.firstName (braces optional, any case). | |
| ownerId | No | Only templates this member owns, team ones included: a user id (24 hex chars), or me. | |
| searchIn | No | all (default): everything query searches. name: the template name only. | |
| createdTo | No | Only templates created on or before this date (that whole day) or time. | |
| hasDrafts | No | true: templates with an open draft. false: none open. | |
| projectId | No | Only email templates filed under this project (24 hex chars). | |
| updatedTo | No | Only templates last changed on or before this date (that whole day) or time. | |
| visibility | No | all (default): every email template this person can see. mine: every template they own. team: shared ones. private: their own private ones. | |
| createdFrom | No | Only templates created on or after this date (2026-10-28) or time. | |
| hasDocument | No | true: templates with a document slot. false: templates without one. | |
| updatedFrom | No | Only templates last changed on or after this date (2026-10-28) or time. | |
| updatedAfter | No | The older name of updatedFrom: only templates last edited on or after this date (2026-10-28) or time. | |
| updatedBefore | No | The older name of updatedTo: only templates last edited on or before this date (that whole day) or time. |