cobos-apple-mail-mcp
Copyright (C) Ernesto Cobos <ernesto@cobos.io>

This program is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option)
any later version. See the LICENSE file for the full text.

This project is a unified redesign that draws architectural ideas and, in
places, adapted code from two prior open-source Apple Mail MCP servers. It
is not a fork of either; the read engine, write engine, identity bridge,
safety layer, and knowledge layer were redesigned and reimplemented for this
project, informed by the approaches below.

--------------------------------------------------------------------------
1. imdinu/apple-mail-mcp
--------------------------------------------------------------------------
License: GNU General Public License v3.0 (GPL-3.0)
Source:  https://github.com/imdinu/apple-mail-mcp

Influence: the direct on-disk read approach (Envelope Index SQLite + .emlx
parsing) and the FTS5 full-mailbox search/index design were informed by
this project's approach. Because this is GPL-3.0 licensed, the combined
work in this repository is distributed under GPL-3.0-or-later.

--------------------------------------------------------------------------
2. patrickfreyer/apple-mail-mcp
--------------------------------------------------------------------------
License: MIT License
Source:  https://github.com/patrickfreyer/apple-mail-mcp

  Copyright (c) 2025 Patrick Freyer

  Permission is hereby granted, free of charge, to any person obtaining a
  copy of this software and associated documentation files (the
  "Software"), to deal in the Software without restriction, including
  without limitation the rights to use, copy, modify, merge, publish,
  distribute, sublicense, and/or sell copies of the Software, and to
  permit persons to whom the Software is furnished to do so, subject to
  the following conditions:

  The above copyright notice and this permission notice shall be included
  in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  DEALINGS IN THE SOFTWARE.

Influence: the AppleScript/JXA write-and-manage approach (compose, reply,
forward, move, drafts, status, trash, mailbox management) and the analytics
tool set informed the design of this project's write layer, which was
rewritten to resolve messages by canonical Message-ID instead of fragile
subject-keyword matching. Under the terms of the MIT License, this notice
preserves the original copyright and permission notice; the portions of
this combined work that draw on patrickfreyer/apple-mail-mcp are, like the
rest of this repository, distributed under GPL-3.0-or-later as permitted by
the MIT License's permissive terms.

--------------------------------------------------------------------------

cobos-apple-mail-mcp itself, including its identity-resolution bridge,
safety/confirmation/undo layer, knowledge/triage layer, and packaging, is
original work by Ernesto Cobos.
