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>
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>
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>
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>
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>
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>
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>
- 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>
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>
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>
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>
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>