Add watermarks to email messages and attachments

View as MarkdownMarkdown

Set up your AI agent

Give your coding agent live access to the GroupDocs documentation and API reference through the GroupDocs Docs MCP server — no install, no API key. Learn more

claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcp

Also process documents locally

The GroupDocs.Watermark MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.

claude mcp add groupdocs-watermark -- dnx GroupDocs.Watermark.Mcp --yes
Folders, licensing and more →

On this page

GroupDocs.Watermark works with email messages (MSG, EML, EMLX) through their content tree. Open the message and call Watermarker.get_content() to obtain an EmailContent, which exposes the message body and subject, embedded objects, recipients, and attachments. From there you can modify the body and subject, embed or remove images, search the message text, and watermark the attached documents.

This section covers:

  • Email messages — modify the body and subject, embed and remove images, search the message text, and list recipients.
  • Email attachments — extract, add, remove, and watermark the documents attached to a message.

On this page