# EviMail

Certified email submission, status tracking, and on-demand affidavits via v1, plus batch delivery, recipients, and attachments via v2.

 - [POST /v1/EviMail/Submit](https://docs.namirial.app/it/products/namirialnotify/apis/oas/namirialnotify-api/evimail/evimailsubmit.md)
 - [GET /v1/EviMail/Query](https://docs.namirial.app/it/products/namirialnotify/apis/oas/namirialnotify-api/evimail/evimailqueryget.md)
 - [POST /v1/EviMail/AffidavitRequest](https://docs.namirial.app/it/products/namirialnotify/apis/oas/namirialnotify-api/evimail/evimailaffidavitrequest.md): Generates a custom affidavit for a previously submitted EviMail. The original Submit request must have included `AffidavitKinds` containing `OnDemand`, and the communication must still be eligible for
 - [POST /v2/EviMail/Batches](https://docs.namirial.app/it/products/namirialnotify/apis/oas/namirialnotify-api/evimail/evimailbatchcreate.md): Creates a new, empty email batch. Only a `Description` is required at creation; the body, recipients, attachments, and options are set with the subsequent batch endpoints. Returns the `BatchId` used b
 - [GET /v2/EviMail/Batches](https://docs.namirial.app/it/products/namirialnotify/apis/oas/namirialnotify-api/evimail/evimailbatchesquery.md): Lists batches submitted by the authenticated user in the current site, with cursor pagination. **This endpoint uses the HTTP `QUERY` method, not GET.** OpenAPI cannot express the `QUERY` method, so it
 - [GET /v2/EviMail/Batches/{BatchId}](https://docs.namirial.app/it/products/namirialnotify/apis/oas/namirialnotify-api/evimail/evimailbatchget.md): Retrieves the full state of a batch, including its configured email template and processing progress.
 - [PATCH /v2/EviMail/Batches/{BatchId}](https://docs.namirial.app/it/products/namirialnotify/apis/oas/namirialnotify-api/evimail/evimailbatchpatch.md): Updates batch metadata and email template options. To submit a Draft or Invalid batch, send State Submitted and a future UTC ScheduledDate in the same request. To return a Submitted or Scheduled batch
 - [DELETE /v2/EviMail/Batches/{BatchId}](https://docs.namirial.app/it/products/namirialnotify/apis/oas/namirialnotify-api/evimail/evimailbatchdelete.md): Removes a previously created batch.
 - [PUT /v2/EviMail/Batches/{BatchId}/Body](https://docs.namirial.app/it/products/namirialnotify/apis/oas/namirialnotify-api/evimail/evimailbatchbodyput.md): Sets the HTML body of the email for this batch. The body is sent as the raw request payload (HTML), not as a JSON field. Use `PATCH .../{BatchId}` to set the `Subject`.
 - [POST /v2/EviMail/Batches/{BatchId}/Recipients](https://docs.namirial.app/it/products/namirialnotify/apis/oas/namirialnotify-api/evimail/evimailbatchrecipientspost.md): Replaces the recipient list of an editable batch with a raw CSV upload. Send exactly `Content-Type: text/csv` without media-type parameters. Send the CSV in UTF-8. The CSV supports up to 100,000 recip
 - [GET /v2/EviMail/Batches/{BatchId}/Recipients](https://docs.namirial.app/it/products/namirialnotify/apis/oas/namirialnotify-api/evimail/evimailbatchrecipientsquery.md): Lists the recipients of a batch, with cursor pagination. **This endpoint uses the HTTP `QUERY` method, not GET.** OpenAPI cannot express the `QUERY` method, so it is shown here as a `GET` with the fil
 - [DELETE /v2/EviMail/Batches/{BatchId}/Recipients](https://docs.namirial.app/it/products/namirialnotify/apis/oas/namirialnotify-api/evimail/evimailbatchrecipientsdelete.md): Removes all recipients from the batch.
 - [POST /v2/EviMail/Batches/{BatchId}/Attachments](https://docs.namirial.app/it/products/namirialnotify/apis/oas/namirialnotify-api/evimail/evimailbatchattachmentspost.md): Adds a single attachment to the batch by uploading it as `multipart/form-data`. The attachment is included in emails generated from the batch. Upload exactly one nonempty file and set its filename and
 - [GET /v2/EviMail/Batches/{BatchId}/Attachments](https://docs.namirial.app/it/products/namirialnotify/apis/oas/namirialnotify-api/evimail/evimailbatchattachmentsget.md): Returns metadata for all attachments configured on the batch.
 - [DELETE /v2/EviMail/Batches/{BatchId}/Attachments](https://docs.namirial.app/it/products/namirialnotify/apis/oas/namirialnotify-api/evimail/evimailbatchattachmentsdelete.md): Removes all attachments from the batch.
 - [GET /v2/EviMail/Batches/{BatchId}/Attachments/{AttachmentId}](https://docs.namirial.app/it/products/namirialnotify/apis/oas/namirialnotify-api/evimail/evimailbatchattachmentget.md): Downloads the binary content of a single batch attachment. The response uses the stored attachment media type.
 - [DELETE /v2/EviMail/Batches/{BatchId}/Attachments/{AttachmentId}](https://docs.namirial.app/it/products/namirialnotify/apis/oas/namirialnotify-api/evimail/evimailbatchattachmentdelete.md): Removes a single attachment from the batch.
