# Attach email notification to case

**URL:** <https://forums.pega.com/t/attach-email-notification-to-case/3837>\
**Category:** General\
**Tags:** email, 8-7-3, senior-system-architect, case-management\
**Created:** [January 22, 2023, 7:20pm UTC](https://forums.pega.com/t/attach-email-notification-to-case/3837 "2023-01-22T19:20:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![leony](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/leony/32/12607_2.png) [@leony](https://forums.pega.com/u/leony)\
**Post date:** [January 22, 2023, 7:20pm UTC](https://forums.pega.com/t/attach-email-notification-to-case/3837/1 "2023-01-22T19:20:34Z")

</div>

Hi, I have the following requirements:

1. A scheduled job that runs an activity every morning that will check records for supporting documents
2. If the supporting documents are not uploaded, the activity is to send an email to the requestor and attach this generated email to the case (similar to [this academy exercise](https://academy.pega.com/challenge/sending-emails-during-case-processing/v3/in/24071/24041)).
3. I have tried SendSimpleEmail but the mail is never attached and there are no errors in the tracer

​

 ![SimpleEmailSend steps in Activity.png](https://pega1.discourse-cdn.com/pega/original/2X/e/e114bcaada44db5e1ff9a9357639aae2ebcb6d23.png)

Is it possible to attach the email to the case via an activity that runs on a schedule (i.e. no user interference)?

Thanks.

---

<div class="post-metadata">

**Author:** ![P.Siva.Praveen](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/p.siva.praveen/32/22985_2.png) [@P.Siva.Praveen](https://forums.pega.com/u/P.Siva.Praveen)\
**Post date:** [January 23, 2023, 7:49am UTC](https://forums.pega.com/t/attach-email-notification-to-case/3837/2 "2023-01-23T07:49:05Z")

</div>

@leony

Seems the attachment links section is not getting refreshed. Can you add refresh section on the case once or try to reopen the case.

---

<div class="post-metadata">

**Author:** ![BhanuPrakash\_G](https://avatars.discourse-cdn.com/v4/letter/b/dc4da7/32.png) [@BhanuPrakash\_G](https://forums.pega.com/u/BhanuPrakash_G)\
**Post date:** [January 23, 2023, 8:00am UTC](https://forums.pega.com/t/attach-email-notification-to-case/3837/3 "2023-01-23T08:00:20Z")

</div>

@leony Can you add a **Commit** step after step11 and also you don’t need to make use of work-.sendsimpleemail as the temppage is a class derived from work- so you can ignore the class while calling this activity.

---

<div class="post-metadata">

**Author:** ![leony](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/leony/32/12607_2.png) [@leony](https://forums.pega.com/u/leony)\
**Post date:** [February 20, 2023, 6:53am UTC](https://forums.pega.com/t/attach-email-notification-to-case/3837/4 "2023-02-20T06:53:40Z")

</div>

Hi, to close out, it seems I need to enable the ‘SendAllAttachments’ to true to allow the email to be attached.

 ![Screenshot of SendSimpleEmail settings.png](https://pega1.discourse-cdn.com/pega/original/2X/4/40612e7f4dae1b73ad28dac619b529d816c9c7ef.png)

---

<div class="post-metadata">

**Author:** ![Satish\_K\_Sudagoni1](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/satish_k_sudagoni1/32/17763_2.png) [@Satish\_K\_Sudagoni1](https://forums.pega.com/u/Satish_K_Sudagoni1)\
**Post date:** [February 20, 2023, 10:52am UTC](https://forums.pega.com/t/attach-email-notification-to-case/3837/5 "2023-02-20T10:52:25Z")

</div>

@leony hi Can you check the below link

[![](https://pega1.discourse-cdn.com/pega/original/3X/8/e/8ed38668319c9d12f965c0bd4b0fc5faa53f9e47.jpeg "Job scheduler in Pega: Generate Excel and as an attachment in email, tracing job scheduler") ](https://www.youtube.com/watch?v=w1IYdF8o17E)

---

<div class="post-metadata">

**Author:** ![SadhubuggaP](https://avatars.discourse-cdn.com/v4/letter/s/8dc957/32.png) [@SadhubuggaP](https://forums.pega.com/u/SadhubuggaP)\
**Post date:** [August 11, 2023, 2:46am UTC](https://forums.pega.com/t/attach-email-notification-to-case/3837/6 "2023-08-11T02:46:40Z")

</div>

@leony where can we see this email account name field ??? In activity or data - email account class ??
