LC Email
Called whenever an email is sent, gives the statistics of the said email.
Available only to Location Level Apps.
Schema
LCEmailStats
type
stringlocationId
stringcompanyId
stringwebhookPayload
objectevent
stringid
stringtimestamp
integerflags
objectmessage
objectlog-level
stringrecipient
stringrecipient-domain
stringtags
arrayrecipient-provider
stringcampaigns
arraydelivery-status
objectenvelope
objectExample
{"type": "LCEmailStats","locationId": "ve9EPM428h8vShlRW1KT","companyId": "ve9EPM428h8vShlRW1KT","webhookPayload": {"event": "delivered","id": "ve9EPM428h8vShlRW1KT","timestamp": 1714032441,"flags": {"is-authenticated": true,"is-routed": false,"is-big": false,"is-system-test": false,"is-test-mode": false},"message": {"attachments": [],"headers": {"message-id": "<message-id>","from": "Aaditya Chakravarty <dummy@example.com>","to": "test@example.com"},"size": 1725},"log-level": "info","recipient": "test@example.com","recipient-domain": "example.com","tags": ["loc_ve9EPM428h8vShlRW1KT", "com_ve9EPM428h8vShlRW1KT", "et_other"],"recipient-provider": "Other","campaigns": [],"delivery-status": {"attempt-no": 1,"code": 250,"message": "OK","description": "","session-seconds": 0.087,"enhanced-code": "","mx-host": "mail.example.com","utf8": true,"i-first-delivery-attempt-seconds": 0.047},"envelope": {"sender": "<sender-id>","targets": "test@example.com","transport": "smtp","sending-ip": "127.0.0.1","i-ip-pool-id": "65cc66e77a4d4f63649d394c","i-ip-pool-name": "<pool-name>"}}}