71 lines
1.8 KiB
Markdown
71 lines
1.8 KiB
Markdown
---
|
|
name: parlobyg-email
|
|
description: Email access for Parlobyg (info@parlobyg.dk). IMAP/SMTP via one.com. Use for reading, sending, and organizing customer emails. Triggers on email tasks for Parlobyg.
|
|
---
|
|
|
|
# Parlobyg Email Skill
|
|
|
|
IMAP/SMTP client for info@parlobyg.dk — the main customer email for Parlobyg construction company.
|
|
|
|
## Quick Start
|
|
|
|
```bash
|
|
# Check inbox
|
|
python3 scripts/email_client.py inbox --limit 10
|
|
|
|
# Check unread
|
|
python3 scripts/email_client.py unread
|
|
|
|
# Read specific email
|
|
python3 scripts/email_client.py read --id 123
|
|
|
|
# Search emails
|
|
python3 scripts/email_client.py search --query "from:kunde@example.dk"
|
|
|
|
# List folders
|
|
python3 scripts/email_client.py folders
|
|
|
|
# Send email
|
|
python3 scripts/email_client.py send --to "kunde@example.dk" --subject "Re: Tilbud" --body "Tak for din henvendelse..."
|
|
```
|
|
|
|
## Credentials
|
|
|
|
- **Email:** info@parlobyg.dk
|
|
- **Provider:** one.com
|
|
- **IMAP:** imap.one.com:993 (SSL)
|
|
- **SMTP:** send.one.com:465 (SSL)
|
|
- **Password:** Q223Ln57TyyC4
|
|
|
|
## Folder Structure
|
|
|
|
~1967 folders organized as:
|
|
```
|
|
Kunder og byggesager/
|
|
├── Kunder/
|
|
│ ├── [Customer Name]/
|
|
│ │ ├── [Project 1]/
|
|
│ │ └── [Project 2]/
|
|
```
|
|
|
|
## Related Mailboxes
|
|
|
|
- **support@parlobyg.dk** — Michelle Ermler (project coordinator, 61 10 99 81)
|
|
- **wordpress@parlobyg.dk** — Contact form submissions (forwards to support@)
|
|
|
|
## Integration with Ordrestyring
|
|
|
|
Cross-reference email senders with Ordrestyring customers:
|
|
```bash
|
|
# Search customer in Ordrestyring by email
|
|
python3 ~/.openclaw/skills/ordrestyring/scripts/graphql_query.py customers --limit 50
|
|
```
|
|
|
|
## Cron Tasks
|
|
|
|
- **Morning triage (5am CET):** Scan inbox, classify, draft replies
|
|
- **Evening summary (17:30 CET):** Send digest to Mikkel
|
|
|
|
## References
|
|
|
|
- [Email Patterns](references/email-patterns.md)
|