# Create Email Address

`lawmatics_create-email-address` · Lawmatics MCP tool · Email Addresses

Create an email address and attach it to a contact, matter, or company in Lawmatics. Provide the email address string, a label (e.g. Primary, Work), and the ID of exactly one entity (matter, contact, or company). Attaching to a matter sets the email address on the matter's contact or company. Returns the created record with a `relationships` envelope carrying an `informationable` {id,type} pointer to the owning record (contact, company, or firm).

## Input

- **email** `string(email)` (required, pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$) — The email address
- **emailType** `string` (required) — Email address label (e.g. Primary, Work, Personal)
- **matterId** `string` — ID of the matter to attach this email address to
- **contactId** `string` — ID of the contact to attach this email address to
- **companyId** `string` — ID of the company to attach this email address to

## Output

- **id** `string` (required) — Unique ID of the email address record
- **emailType** `string` (required) — Email address label (e.g. Primary, Work, Personal)
- **email** `string` (required) — The email address string
- **relationships** `object` (required) — JSON:API relationship pointers as {id,type} stubs. Not materialized — follow the informationable pointer by calling the owning record's own get tool.
  - **informationable** `object | null` (required) — Pointer to the owning record this email address belongs to; null when unlinked. The type is polymorphic (e.g. "contact", "company", "firm") — resolve it via that record's own get tool (type 'contact' -> get-contact, 'company' -> get-company)
    - **id** `string` (required) — ID of the referenced Lawmatics record
    - **type** `string` (required) — JSON:API record class of the reference (e.g. "user", "contact", "prospect", "firm"); resolve it by calling that resource's own get/find tool — this pointer is not materialized
