Greek Email Processor
This skill transforms OpenClaw into an intelligent Greek business email processor that automatically detects, categorizes, and processes financial documents and official communications from Greek government agencies, banks, and business partners.
Setup
CODEBLOCK0
Security notes:
- - Use app-specific passwords or app-specific passwords — never your main email password
- Grant the service account the minimum required permissions (read-only for IMAP)
- SMTP credentials are optional — only needed if you enable auto-response features
- All auto-responses require human approval before sending
Core Philosophy
- - Greek Language First: Native support for Greek language emails and documents
- Intelligent Classification: Automatic detection of document types and priority levels
- Compliance Focused: Special handling for AADE, EFKA, and government communications
- Business Context Aware: Understanding of Greek business communication patterns
- Privacy Conscious: Secure handling of sensitive financial information in emails
Key Capabilities
1. Greek Document Recognition & Classification
- - Invoice Detection: Identify Greek invoices (ΤΙΜθºθΓΙθ, ΑΠθΔΕΙξΗ) in email attachments
- Government Notifications: Recognize AADE, EFKA, and municipal communications
- Bank Statements: Process statements from all major Greek banks
- Tax Documents: Detect tax-related emails and forms
- Client Communications: Categorize business correspondence and payment requests
- Receipt Processing: Identify expense receipts and business documentation
2. Email Provider Integration
- - Gmail / Google Workspace: Via IMAP (use app-specific password) or optional Gmail API (set GOOGLECLIENTID, GOOGLECLIENTSECRET)
- Outlook / Exchange: Via IMAP or optional Microsoft Graph API (set MSCLIENTID, MSCLIENTSECRET)
- Any IMAP Provider: Standard IMAP connection to any email provider
- IMAP/SMTP Providers: Any IMAP-compatible business email
- Yahoo Business: Yahoo business email support
- Custom IMAP/POP3: Support for Greek business email providers
- Multi-Account Support: Handle multiple email accounts simultaneously
- Real-time Monitoring: Continuous inbox monitoring with configurable intervals
3. Greek Language Processing
- - Greek Text Recognition: Native Greek language email content analysis
- Mixed Language Support: Handle Greek-English business communications
- Greek Date Formats: Recognize Greek date patterns (dd/MM/yyyy)
- Currency Detection: Greek Euro formatting (‚¬1.234,56)
- Address Parsing: Greek address format recognition
- VAT Number Detection: Identify Greek VAT numbers (EL123456789) in emails
4. Automated Processing Workflows
- - Document Extraction: Automatic attachment download and processing
- Smart Forwarding: Route emails to appropriate processing pipelines
- Client Notification: Automated responses in Greek for document receipt
- Priority Escalation: Flag urgent emails (overdue payments, government notices)
- Calendar Integration (optional): Create calendar events for payment due dates if GOOGLECALENDARID is configured
- Task Creation: Generate accounting tasks from email content
Implementation Guidelines
Email Monitoring Architecture
IMAP Email Integration
CODEBLOCK1
IMAP/SMTP Providers Integration
CODEBLOCK2
Document Classification Engine
Greek Document Types
CODEBLOCK3
Intelligent Content Analysis
CODEBLOCK4
Greek Language Processing Engine
Language Detection & Parsing
CODEBLOCK5
Greek Email Templates
CODEBLOCK6
Workflow Templates
Daily Email Processing Routine
Morning Email Scan (8:00 AM Greece Time)
CODEBLOCK7
Continuous Monitoring (Every 15 minutes)
CODEBLOCK8
End of Day Processing (6:00 PM Greece Time)
CODEBLOCK9
Integration Workflows
AADE Email Integration
CODEBLOCK10
Bank Email Integration
CODEBLOCK11
Advanced Features
Client Communication Automation
Intelligent Auto-Response System
CODEBLOCK12
Multi-Account Management
Account Configuration
CODEBLOCK13
Security & Privacy Features
Data Protection
- - Email Encryption: Support for encrypted email communication
- Secure Attachment Handling: Virus scanning and secure storage
- Access Controls: Role-based access to email processing functions
- Audit Logging: Complete trail of email processing activities
- GDPR Compliance: European privacy law compliance for email data
Greek Business Privacy
- - Client Confidentiality: Secure handling of client communications
- Banking Security: Special protection for bank statement processing
- Government Communication Security: Secure processing of official communications
- Document Retention: Greek legal requirements for email retention
- Professional Privilege: Respect for accountant-client privilege
Performance Optimization
Efficient Processing
CODEBLOCK14
Integration Points
OpenClaw Skills Integration
CODEBLOCK15
Internal Skill Integration
CODEBLOCK16
Note: This skill does NOT integrate with external software. It processes emails and routes extracted data to companion OpenClaw skills via the local filesystem.
Usage Examples
Example 1: Invoice Processing
CODEBLOCK17
Example 2: AADE Notification Processing
CODEBLOCK18
Example 3: Client Communication Automation
CODEBLOCK19
OpenClaw Integration Strategy
Practical OpenClaw Email Processing
CODEBLOCK20
File-Based Email Workflow (OpenClaw Compatible)
CODEBLOCK21
OpenClaw-Friendly Email Commands
CODEBLOCK22
Integration with Other Skills
CODEBLOCK23
A successful Greek email processing system should achieve:
- - ✅ 95%+ accuracy in Greek document classification
- ✅ <30 seconds response time for urgent government emails
- ✅ 90%+ automation rate for routine client communications
- ✅ Zero missed critical compliance notifications
- ✅ Complete audit trail for all email processing
- ✅ Integration with all major Greek email providers
- ✅ Native Greek language support for all communications
Remember: This skill serves as the communication hub for Greek accounting automation, ensuring no important financial documents or government notifications are missed while maintaining professional Greek business communication standards.
Greek Email Processor
此技能将OpenClaw转变为一个智能的希腊商务邮件处理器,能够自动检测、分类并处理来自希腊政府机构、银行和商业伙伴的财务文件及官方通信。
设置
bash
1. 设置数据目录
export OPENCLAW
DATADIR=/data
2. 配置邮件访问(使用具有只读权限的限定服务账户)
export IMAP_HOST=imap.your-provider.com # 例如 imap.gmail.com, imap.outlook.com
export IMAP_USER=accounting@yourfirm.gr
export IMAP_PASSWORD=app-specific-password # 使用应用专用密码,而非主密码
3. 配置外发邮件(可选——仅自动回复时需要)
export SMTP_HOST=smtp.your-provider.com # 例如 smtp.gmail.com, smtp.outlook.com
export SMTP_USER=accounting@yourfirm.gr
export SMTP_PASSWORD=app-specific-password
4. 确保依赖项已安装
which jq curl || sudo apt install jq curl
5. 创建接收目录
mkdir -p $OPENCLAW
DATADIR/incoming/{invoices,receipts,statements,government}
安全说明:
- - 使用应用专用密码——切勿使用主邮箱密码
- 授予服务账户最低必要权限(IMAP只读权限)
- SMTP凭据为可选——仅在启用自动回复功能时需要
- 所有自动回复在发送前需经人工批准
核心理念
- - 希腊语优先:原生支持希腊语邮件和文档
- 智能分类:自动检测文档类型和优先级
- 合规导向:专门处理AADE、EFKA及政府通信
- 业务语境感知:理解希腊商务通信模式
- 隐私意识:安全处理邮件中的敏感财务信息
关键能力
1. 希腊文档识别与分类
- - 发票检测:识别邮件附件中的希腊发票(ΤΙΜθºθΓΙθ, ΑΠθΔΕΙξΗ)
- 政府通知:识别AADE、EFKA及市政通信
- 银行对账单:处理所有主要希腊银行的账单
- 税务文件:检测税务相关邮件和表格
- 客户通信:分类商务信函和付款请求
- 收据处理:识别费用收据和商务文件
2. 邮件提供商集成
- - Gmail / Google Workspace:通过IMAP(使用应用专用密码)或可选的Gmail API(设置GOOGLECLIENTID, GOOGLECLIENTSECRET)
- Outlook / Exchange:通过IMAP或可选的Microsoft Graph API(设置MSCLIENTID, MSCLIENTSECRET)
- 任意IMAP提供商:标准IMAP连接至任意邮件提供商
- IMAP/SMTP提供商:任意兼容IMAP的商务邮件
- Yahoo商务:支持Yahoo商务邮件
- 自定义IMAP/POP3:支持希腊商务邮件提供商
- 多账户支持:同时处理多个邮件账户
- 实时监控:以可配置间隔持续监控收件箱
3. 希腊语处理
- - 希腊文本识别:原生希腊语邮件内容分析
- 混合语言支持:处理希腊语-英语商务通信
- 希腊日期格式:识别希腊日期模式(dd/MM/yyyy)
- 货币检测:希腊欧元格式(‚¬1.234,56)
- 地址解析:希腊地址格式识别
- 增值税号检测:识别邮件中的希腊增值税号(EL123456789)
4. 自动化处理工作流
- - 文档提取:自动下载并处理附件
- 智能转发:将邮件路由至适当的处理管道
- 客户通知:希腊语自动回复确认文档接收
- 优先级升级:标记紧急邮件(逾期付款、政府通知)
- 日历集成(可选):如配置了GOOGLECALENDARID,为付款截止日期创建日历事件
- 任务创建:从邮件内容生成会计任务
实施指南
邮件监控架构
IMAP邮件集成
yaml
IMAP_Configuration:
imap_permissions:
protocol: IMAP用于读取,SMTP用于发送
security: 需要TLS/SSL
monitoring_labels:
- INBOX
- UNREAD
- IMPORTANT
- custom_labels: [Accounting, Tax, Invoices]
search_queries:
invoices: subject:(πžιμολςγιο OR invoice OR αποδειξη OR receipt)
tax_documents: from:aade.gr OR from:efka.gov.gr OR subject:π πα
bank_statements: from:alphabank.gr OR from:nbg.gr OR from:eurobank.gr OR from:piraeusbank.gr
client_payments: subject:(πληρπ°μή OR payment OR οπ ειλή OR due)
IMAP/SMTP提供商集成
yaml
Alternative
ProviderNotes:
microsoft
graphscopes:
- https://graph.microsoft.com/Mail.Read
- https://graph.microsoft.com/Mail.Send
- https://graph.microsoft.com/Mail.ReadWrite
folder_monitoring:
- Inbox
- Accounting
- Tax Documents
- Bank Statements
advanced_queries:
greek_invoices: subject:πžιμολςγιο OR attachmentNames:invoice
government_mail: from:gov.gr OR from:aade.gr
banking: from:bank OR from:πžράπεζα
文档分类引擎
希腊文档类型
yaml
Document_Classification:
invoices:
greek_keywords: [πžιμολςγιο, αποδειξη, παρασπžαπžικς, invoice]
file_patterns: [
.pdf, .xml,
.doc]
confidence_thresholds:
high: 0.95 # 明确的发票格式
medium: 0.80 # 可能的发票
low: 0.60 # 可能的发票
tax_documents:
aade_keywords: [π πα, π ςροπš, δήλπ°ση, εκκαθαρισπžικς]
sender_patterns: [@aade.gr, @taxisnet.gr]
subject_patterns: [ΦΠΑ, TAX, ENFIA]
bank_statements:
greek_banks: [Alpha Bank, Εθνική Τράπεζα, Eurobank, Τράπεζα ΠειραιϽπš]
keywords: [κίνηση λογαριασμού, statement, ανπžίγραπ ο, υπςλοιπο]
formats: [pdf, csv, xls, xlsx]
receipts:
keywords: [αποδειξη, παρασπžαπžικς, πžιμολςγιο λιανικήπš, receipt]
amount_patterns: [‚¬\\d+[.,]\\d+, \\d+[.,]\\d+\\s‚¬, \\d+[.,]\\d+\\sEUR]
vat_patterns: [ΦΠΑ \\d+%, VAT \\d+%]
client_communications:
payment_keywords: [πληρπ°μή, οπ ειλή, λογαριασμςπš, πžιμολςγηση]
request_keywords: [παρακαλϽ, αίπžημα, π¡ρειάζομαι, σπžείλπžε]
urgent_keywords: [επείγον, urgent, άμεσα, προθεσμία]
智能内容分析
yaml
Content
AnalysisRules:
priority_detection:
high_priority:
- government_communications: 来自AADE、EFKA、市政的邮件
- payment_due: 逾期付款通知
- audit_requests: 税务审计或合规请求
- system_outages: TAXIS、myDATA系统公告
medium_priority:
- new_invoices: 来自供应商的传入发票
- bank_notifications: 银行对账单可用性
- client_requests: 客户文件请求
- deadline_reminders: 税务或合规截止日期通知
low_priority:
- newsletters: 专业服务通讯
- marketing: 软件或服务推广