mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-11 04:49:57 +00:00
- Extract email address from sender string in `_matches_whitelist` - Add `_extract_email_from_sender` helper function to handle various sender formats - Prioritize email in angle brackets to prevent display name spoofing - Support formats: plain email, "Name <email>", and quoted display names - Add regex validation for extracted email addresses - Fallback to original sender string if no valid email found |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| attachment_reader.py | ||
| dispatcher.py | ||
| handler.py | ||
| imap_client.py | ||
| smtp_client.py | ||