15 Commits

Author SHA1 Message Date
ece3b0d771 fix: ignore .claude/ at any depth, not just repo root
The previous pattern `/.claude/` only matched at the repository root.
Subdirectory `.claude/` folders (e.g., EmailSearch/.claude/) were not
ignored, risking accidental commits of local Claude Code settings.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 15:48:47 -05:00
961155f887 chore: add .claude/ to .gitignore
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 13:11:32 -05:00
27fc3b65e9 feat: add time parameter to MoveToJunk, ReadEmail, and AnalyzeSpam
When multiple emails share the same subject and date, the optional time
parameter disambiguates by finding the closest match to the specified
time (e.g., '13:46', '1:46 PM').

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 13:11:23 -05:00
0bddb21f8c refactor: remove agent system, keep MCP server only
The AI email agent and email watcher agent added unnecessary complexity
and external dependencies (Anthropic API, Gotify). The MCP server alone
provides all needed email functionality through Claude Code.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 13:11:11 -05:00
c72e81601c docs: document spam detection features and new MCP tools
Add spam detection architecture, detection patterns, attachment risk
scoring, and configuration details to CLAUDE.md.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 11:06:58 -05:00
f59b610d0b feat: add AI email agent and email watcher agent
EmailWatcherAgent monitors Outlook for new emails and sends Gotify
notifications based on configurable rules (importance, sender,
keywords, spam score). AIEmailAgent uses Claude API in an agentic
loop to evaluate emails and decide actions (notify, move, flag,
analyze spam). Program.cs updated to support --agent CLI mode.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 11:06:52 -05:00
489cb8f657 feat: add MoveToJunk, AnalyzeSpam, and ScanForSpam MCP tools
MoveToJunk moves emails to Junk by subject/date. AnalyzeSpam returns
a detailed spam report with score, red flags, and sender/content
analysis. ScanForSpam batch-scans recent emails and ranks by spam
likelihood.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 11:06:43 -05:00
51858cbd01 feat: add rule-based spam detection engine
Heuristic spam detector with 50+ patterns including SPF/DKIM/DMARC
auth checks, display name impersonation, URL analysis, attachment
risk scoring, and advanced phishing detection (fake quarantine
reports, voicemail scams, cold email solicitation). Configurable
via SpamDetectorConfig.json with customizable weights and blocklist.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 11:06:35 -05:00
09181d0991 feat: add support for custom Outlook folder search
- Allow searching custom folders by name (e.g., "Projects", "Archive")
- Add recursive folder search through all stores/accounts
- Include Inbox subfolders when searching "All"
- Update parameter descriptions to document custom folder support

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 12:57:23 -05:00
AJ
dafc1d6866 chore: update Microsoft.Extensions.Hosting to 10.0.1
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 14:24:05 -05:00
AJ
0094b5ea56 docs: add CLAUDE.md for Claude Code guidance
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 14:23:58 -05:00
01013b90c6 chore: add .gitignore for Visual Studio and .NET
Ignore build outputs, Visual Studio files, NuGet packages,
and other common artifacts.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-20 11:43:53 -05:00
01c6c3f0ec feat: implement MCP server with Outlook email search tools
Add EmailSearchTools with two MCP tools:
- SearchEmails: Search by keywords, sender, subject, date range,
  attachments, importance, category, and flag status with pagination
- ReadEmail: Retrieve full email body by subject and date

Configure MCP server with stdio transport in Program.cs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-20 11:43:26 -05:00
b2fd117b83 feat: add email result and search filter models
Add EmailResult class for holding email search results with
subject, sender, date, body preview, attachments, and metadata.
Add SearchFilters for encapsulating search criteria.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-20 11:42:59 -05:00
ccc7aeb972 feat: add solution and project configuration
Set up .NET 9.0 Windows project with MCP server dependencies
(ModelContextProtocol, NetOfficeFw.Outlook) for Outlook email search.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-20 11:42:33 -05:00