# Can I make custom scheduled emails to each employee?

**URL:** <https://community.fibery.io/t/can-i-make-custom-scheduled-emails-to-each-employee/8953>\
**Category:** Get Help\
**Created:** [June 10, 2025, 2:29am UTC](https://community.fibery.io/t/can-i-make-custom-scheduled-emails-to-each-employee/8953 "2025-06-10T02:29:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdVhPkgKad](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@AdVhPkgKad](https://community.fibery.io/u/AdVhPkgKad)\
**Post date:** [June 10, 2025, 2:29am UTC](https://community.fibery.io/t/can-i-make-custom-scheduled-emails-to-each-employee/8953/1 "2025-06-10T02:29:41Z")

</div>

I would like to template out a task list for employees, where any open task entities get added to the body of an email and sent to the user account attached as the assignee.

Can this be done without use of third-party tools?

---

<div class="post-metadata">

**Author:** ![myg\_ge](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/myg_ge/32/12457_2.png) [@myg\_ge](https://community.fibery.io/u/myg_ge)\
**Post date:** [September 7, 2025, 10:01pm UTC](https://community.fibery.io/t/can-i-make-custom-scheduled-emails-to-each-employee/8953/2 "2025-09-07T22:01:58Z")

</div>

Hi there,

The easiest way I could come up with is this:

**Test task database**

 ![image](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/c/cc31a59ffabf9797742f9ef0426f9bbc52c417bb.png)

We want each of the assignees to receive a list of still open tasks that are assigned to them.

Go to the Users database. Create a Rule to run every morning:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/1/154697b7e79b1f366e2c367e225698489d59d7e6.png)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/0/0156b1d99049324507777f05b350b01c8d2afcff.png)

The body of the email message template:

```auto
{! TestTasks:Id,Name,Due Date,State.Name,State.Final,Assignee.Email !}
# Tasks for {{Name}} ({{Email}})

<%
const tasks = Entity.TestTasks || [];
const myEmail = Entity.Email;
const filtered = tasks.filter((t) => t['Assignee.Email'] === myEmail && t['State.Final'] != true);
if (filtered.length === 0) {
%>
No tasks found for this user.
<% } else { %>
<% for (const t of filtered) { %>
- [<%= t.Name %>](https://your-workspace.fibery.io/fibery/space/CRM/database/TestTask#CRM/TestTask/<%= t.Id %>) — Due: <%= t['Due Date'] || 'N/A' %> — State: <%= t['State.Name'] || 'N/A' %>
<% } %>
<% } %>

```

Will this work for you?
