---
title: tm.servicemailevent
slug: db/tmservicemailevent
createdAt: 2023-12-14T14:11:00.603Z
---

Service mail events

## Fields

| FIELD                 | TYPE        | DESCRIPTION                                                                                                     |
| --------------------- | ----------- | --------------------------------------------------------------------------------------------------------------- |
| id                    | `int`       | ID                                                                                                              |
| eventid               | `int`       | The id of the event<br />**References:** [tm.event](docId\:LZR3vbnf596zjjB69XLLB)                               |
| servicemailtemplateid | `int`       | The id of the service mail template<br />**References:** [tm.servicemailtemplate](docId\:OGhvBTg5HW-jjGCb_p6hP) |
| scheduledts           | `timestamp` | The time the mails are scheduled to be sent                                                                     |
| createdts             | `timestamp` | The time the scheduling is done                                                                                 |
| trigger               | `string`    | How the service mail was triggered                                                                              |

