backend/tools/leo_webhook_handler.py
Leo Webhook Handler — processes inbound emails and routes to WhatsApp.
| Symbol | Kind | Source line |
|---|---|---|
_load_env |
FunctionDef | L33 |
_get_resend_webhook_secret |
FunctionDef | L50 |
_get_email_domain |
FunctionDef | L63 |
verify_signature |
FunctionDef | L68 |
extract_project_id |
FunctionDef | L79 |
send_whatsapp |
FunctionDef | L91 |
format_email_summary |
FunctionDef | L130 |
handle_email_received |
FunctionDef | L165 |
handle_webhook |
FunctionDef | L212 |
simulate_from_webhook_site |
FunctionDef | L231 |