E-008: Channel Integrations
Status: Next
Owner: @bilal @deen
Priority: P1 — Ship to Production
Objective
Connect real communication channels so tenants can reach the AI via WhatsApp, SMS, voice, and email.
Tasks
Twilio (WhatsApp + SMS)
| Task | ID | Description | Status |
|---|
| Account setup | INT-TWILIO-001 | Twilio account, phone number, WhatsApp sandbox | Planned |
| Webhook tunnel | INT-TWILIO-002 | ngrok/cloudflared for local testing | Planned |
| E2E test | INT-TWILIO-003 | WhatsApp inbound → identity → conversation → issue | Planned |
| SMS notifications | INT-TWILIO-004 | Landlord alert SMS on issue creation | Planned |
| Task | ID | Description | Status |
|---|
| Download media | MEDIA-WA-001 | Download from provider temporary URLs | Planned |
| Store permanently | MEDIA-WA-002 | Supabase Storage, permanent URL on message | Planned |
| Auto-attach to issue | MEDIA-WA-003 | Link media to issue if conversation has linked issue | Planned |
| Vision AI | MEDIA-WA-004 | Claude vision for image context (optional) | Planned |
SendGrid (Email)
| Task | ID | Description | Status |
|---|
| Account + sender | INT-EMAIL-001 | SendGrid account, sender verification | Planned |
| Issue notification | INT-EMAIL-002 | Email template for new issues | Planned |
| Expiry reminders | INT-EMAIL-003 | Document expiry reminder emails | Planned |
Voice (VAPI/Retell)
| Task | ID | Description | Status |
|---|
| VAPI setup | INT-VOICE-001 | Account, assistant with Envo system prompt | Planned |
| Voice E2E test | INT-VOICE-002 | Voice call → transcript → issue creation | Planned |
| Retell evaluation | INT-VOICE-003 | Evaluate as alternative to VAPI | Planned |
Channel Trust Model
| Channel | Identity Signal | Confidence |
|---|
| WhatsApp | Phone number (Twilio verified) | High |
| SMS | Phone number (Twilio verified) | High |
| Voice | CallerID (spoofable) | Medium |
| Web Chat | OTP authenticated | High |
| Email | Email address (unverified) | Low |
Dependencies