# Send a mail to all the children of an object

**URL:** <https://forum.adalo.com/t/send-a-mail-to-all-the-children-of-an-object/10115>\
**Category:** External Collections, Custom Actions & Collections\
**Created:** [March 9, 2021, 5:02pm UTC](https://forum.adalo.com/t/send-a-mail-to-all-the-children-of-an-object/10115 "2021-03-09T17:02:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Theo](https://avatars.discourse-cdn.com/v4/letter/t/a87d85/32.png) [@Theo](https://forum.adalo.com/u/Theo)\
**Post date:** [March 9, 2021, 5:02pm UTC](https://forum.adalo.com/t/send-a-mail-to-all-the-children-of-an-object/10115/1 "2021-03-09T17:02:48Z")

</div>

Hi

In my database, I have for exemple the objects above :

- Entity who has a list of Users
- User who
  - have on mail adress
  - belong to one Entity

When an object is created in the application, I want to send a mail (and not a notification) to all the Users of this entity (one unique mail with to : all the Users of the entity, cc the Looged in user).

I dont know how to send all users email separated with “;” to zapier.

Do you know how to do this ?

Thanks

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [March 9, 2021, 6:26pm UTC](https://forum.adalo.com/t/send-a-mail-to-all-the-children-of-an-object/10115/2 "2021-03-09T18:26:57Z")

</div>

Hi @Theo,

As for me, a countdown timer + custom action of email sending may help. The principles of bulk update could be seen here:

> [@Bulk operations and Timer Tricks, part 3: mass update for the records](https://forum.adalo.com/t/bulk-operations-and-timer-tricks-part-3-mass-update-for-the-records/4937):
>
> Please see another trick which could be done with the help of countdown timer: mass update for records in the collection. This could be useful when you want to change the value of one property for all/some of the records, and don’t want to do it one-by-one. The example is pretty simple, but the same logic could be applied to more different cases. Enjoy! [[Adalo hints: how to "mass update" records in the collection with the help of countdown timer] ](https://www.youtube.com/watch?v=0OLszLhb_7k)

Please note, with this solution you’ll send X emails for X users, not one for them all.

Similar question was discussed here:

> [@Bulk custom action](https://forum.adalo.com/t/bulk-custom-action/8529):
>
> Is this possible? Here’s the scenario: I have a custom list of Classes, let’s say. Each Class record in the list is associated with one or more Users (students in the class). I would like to have a toggle button above the list, which enables/activates visibility of a Send Message button. Clicking the Send Message button would trigger one Sendgrid custom action sending an email to all students in all classes. A variant of this would be allowing my app users to select specific classes in the li…

As for creating a single string composed of several records (email addresses) - there is no easy way to do it in Adalo, unfortunately.

Best regards, Victor.

---

<div class="post-metadata">

**Author:** ![Theo](https://avatars.discourse-cdn.com/v4/letter/t/a87d85/32.png) [@Theo](https://forum.adalo.com/u/Theo)\
**Post date:** [March 10, 2021, 7:42pm UTC](https://forum.adalo.com/t/send-a-mail-to-all-the-children-of-an-object/10115/3 "2021-03-10T19:42:06Z")

</div>

Hi,  
Thanks for your answer.  
I have already seen your method (maybe I will use it to send notifications) but the fact of not being able to send an email to all entity users with the user logged in in copy annoys me a bit.  
I think to be more complete Adalo should include triggers and database-side scripts.  
Regards,  
Théo
