To know the number of emails used by each run user

Good day,

I would like to know if there is any code for an analysis to be able to know the amount of emails sent by the run user.

Let me explain: each end user can send a csv through a widget, but I would like to limit the amount of emails that can be sent to be able to distribute the available emails among all end users.

I tried to use this code but it does not execute.

Thank you very much.

Hi,

Your code seems to be correct, the error you received is because the profileID is incorrect.

To obtain your account’s profileID, follow these steps:

* Go to your account, select Profiles & Teams from the list.

* Now in your URL you can find the profile id, e.g:

* https://admin.tago.io/profile/PROFILEID?mine=true

* Copy the PROFILEID of URL.