# Emails Sent via the Scheduler Don't appear On The Ticket?

**URL:** <https://community.zammad.org/t/emails-sent-via-the-scheduler-dont-appear-on-the-ticket/4173>\
**Category:** Technical assistance\
**Created:** [March 6, 2020, 6:01pm UTC](https://community.zammad.org/t/emails-sent-via-the-scheduler-dont-appear-on-the-ticket/4173 "2020-03-06T18:01:56Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![skjbulcher](https://community.zammad.org/user_avatar/community.zammad.org/skjbulcher/32/2486_2.png) [@skjbulcher](https://community.zammad.org/u/skjbulcher)\
**Post date:** [March 6, 2020, 6:01pm UTC](https://community.zammad.org/t/emails-sent-via-the-scheduler-dont-appear-on-the-ticket/4173/1 "2020-03-06T18:01:56Z")

</div>

### Infos:

- Used Zammad version: 3.2.x
- Used Zammad installation source: apt package
- Operating system: Ubuntu 18.04 LTS
- Browser + version: n/a

### Expected behavior:

- When the Scheduler sends an email, the email shows up on the relevant ticket for documentation purposes.

### Actual behavior:

- An innocuous bit of text displays in it’s place in the format

`"[name of scheduler job]" => "[to email address]"`

### Steps to reproduce the behavior:

- Set up a scheduler job to send an email on a ticket. The settings I used are:
  - When should the job run? Every 10 minutes
  - Conditions for effected objects
    - Tags: contains one: [tag on a ticket]
    - Created at: within last (relative): 5: Day(s)

  - Execute changes on objects:
    - Email to “customer”

  - Disable notifications: yes
  - Note: null
  - Active: active

I might be confused about how the scheduler works. What I am trying to accomplish is to create an email campaign of sorts. One of the products we sell requires that we set up a series of emails to our client that fire off at specific times - e.g. once a month. My theory was that we would create a ticket and tag it. Then the scheduler would fire off an email based on the tag and the ticket created time.

However, the system breaks down if the email doesn’t show up on the ticket, because we have no record of what we actually sent the client (the contents of the email in the Scheduler might change over time). Is there a way to accomplish this?

---

<div class="post-metadata">

**Author:** ![herzkerl](https://community.zammad.org/user_avatar/community.zammad.org/herzkerl/32/8167_2.png) [@herzkerl](https://community.zammad.org/u/herzkerl)\
**Post date:** [March 7, 2020, 7:46am UTC](https://community.zammad.org/t/emails-sent-via-the-scheduler-dont-appear-on-the-ticket/4173/2 "2020-03-07T07:46:08Z")

</div>

> [@skjbulcher](#):
>
> However, the system breaks down if the email doesn’t show up on the ticket, because we have no record of what we actually sent the client (the contents of the email in the Scheduler might change over time). Is there a way to accomplish this?

The emails scheduler sends are notifications only, hence they won’t get added to the ticket. (You’ll see a one-liner showing that an e-mail notification has been sent and the address it got sent to.)

Let’s hope the team will add the option to also add e-mail or phone articles (not just notes) to tickets!🤘🏻

---

<div class="post-metadata">

**Author:** ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)\
**Post date:** [March 9, 2020, 11:05am UTC](https://community.zammad.org/t/emails-sent-via-the-scheduler-dont-appear-on-the-ticket/4173/3 "2020-03-09T11:05:09Z")

</div>

> [@herzkerl](#):
>
> Let’s hope the team will add the option to also add e-mail or phone articles (not just notes) to tickets!🤘🏻

A feature request on this board would be a start for that. 😉

---

<div class="post-metadata">

**Author:** ![skjbulcher](https://community.zammad.org/user_avatar/community.zammad.org/skjbulcher/32/2486_2.png) [@skjbulcher](https://community.zammad.org/u/skjbulcher)\
**Post date:** [March 13, 2020, 5:05pm UTC](https://community.zammad.org/t/emails-sent-via-the-scheduler-dont-appear-on-the-ticket/4173/4 "2020-03-13T17:05:23Z")

</div>

> [@herzkerl](#):
>
> The emails scheduler sends are notifications only, hence they won’t get added to the ticket.

I never realized that emails sent via the scheduler were supposed to be notifications - that isn’t clear from the interface, which just says “Email” when you select it. Also, the “notification” itself is an email that accepts anything in the body anyway. The way it works doesn’t match the interface IMO.

On a related topic, I think that scheduler emails should be added in their entirety to the thread anyway (look and feel can be different, if that is desired), because the one-liner isn’t enough to know what was sent. System notifications have a set purpose and can’t be deleted, so one-liners are fine to indicate they were sent. When you create _and delete_ your own custom notification you need a record of what was actually sent for the record.

---

<div class="post-metadata">

**Author:** ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)\
**Post date:** [March 19, 2020, 10:46pm UTC](https://community.zammad.org/t/emails-sent-via-the-scheduler-dont-appear-on-the-ticket/4173/5 "2020-03-19T22:46:25Z")

</div>

While I understand your point of view, I personally don’t see the use.  
That is, because many Zammad users use schedulers and triggers to send automated mails - many of them in a bit more frequent manner which simply could fill the ticket with articles and thus worsen the overview.

Any way, a feature request on this board would be ideal to find out what the rest does think! 🙂

---

<div class="post-metadata">

**Author:** ![herzkerl](https://community.zammad.org/user_avatar/community.zammad.org/herzkerl/32/8167_2.png) [@herzkerl](https://community.zammad.org/u/herzkerl)\
**Post date:** [March 20, 2020, 7:31am UTC](https://community.zammad.org/t/emails-sent-via-the-scheduler-dont-appear-on-the-ticket/4173/6 "2020-03-20T07:31:26Z")

</div>

Done 🙂

> [@Triggers/Scheduler should be able to add e-mails to tickets](https://community.zammad.org/t/triggers-scheduler-should-be-able-to-add-e-mails-to-tickets/4263):
>
> Since scheduler/trigger only has the option to send notifications—and their full text won’t be added to the ticket view—I’d love to see that enhancement soon. What do you think? slight_smile

---

<div class="post-metadata">

**Author:** ![herzkerl](https://community.zammad.org/user_avatar/community.zammad.org/herzkerl/32/8167_2.png) [@herzkerl](https://community.zammad.org/u/herzkerl)\
**Post date:** [March 20, 2020, 7:34am UTC](https://community.zammad.org/t/emails-sent-via-the-scheduler-dont-appear-on-the-ticket/4173/7 "2020-03-20T07:34:16Z")

</div>

I think this could be solved in two ways:  
• Add scheduler/trigger notifications full-text to the ticket view (if I’m right the articles in the database contain the full text, so this should be a small change within the view only)  
• Add ‘real’ e-mails to triggers/scheduler—i.e. notifications would work the way they did before

I’m with you when it comes to the typical use case of notifications—why should they appear in the ticket?—but then again I’m desperately waiting for the aforementioned addition anyways 🙂

---

<div class="post-metadata">

**Author:** ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)\
**Post date:** [March 23, 2020, 2:27pm UTC](https://community.zammad.org/t/emails-sent-via-the-scheduler-dont-appear-on-the-ticket/4173/8 "2020-03-23T14:27:36Z")

</div>

Well if I’d have the choice to not blow up options too much, a tick or dropdown “also display article content in ticket view” would be a good approach. No clue how much effort this takes though.

---

<div class="post-metadata">

**Author:** ![system](https://community.zammad.org/uploads/default/original/1X/5c5afaea2d23f811dbec33cd4edb02fa29d3262f.png) [@system](https://community.zammad.org/u/system)\
**Post date:** [July 21, 2020, 2:27pm UTC](https://community.zammad.org/t/emails-sent-via-the-scheduler-dont-appear-on-the-ticket/4173/9 "2020-07-21T14:27:37Z")

</div>

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.
