# New Account Provisioned Email Template

**URL:** <https://developer.sailpoint.com/discuss/t/new-account-provisioned-email-template/71326>\
**Category:** SHF Discussion and Questions\
**Tags:** email-templates, identity-security-cloud, attributes\
**Created:** [July 8, 2024, 7:20am UTC](https://developer.sailpoint.com/discuss/t/new-account-provisioned-email-template/71326 "2024-07-08T07:20:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharvari](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@sharvari](https://developer.sailpoint.com/discuss/u/sharvari)\
**Post date:** [July 8, 2024, 7:20am UTC](https://developer.sailpoint.com/discuss/t/new-account-provisioned-email-template/71326/1 "2024-07-08T07:20:59Z")

</div>

We are having an issue in the New Account Provisioned email template with using $accountAttributes global variable.

In the past I was able to use ${accountAttributes.mail} and that velocity code would display the email address provisioned to the new AD account that was just created.

I checked the documentation [here](https://documentation.sailpoint.com/saas/help/common/emails/et_newacctprovisioned.html) and don’t see this attribute listed.

I’ve tried mapping it to an identity attribute and using ${identity.email} but it doesn’t pull any value as there is slight delay when the identity attribute gets populated and the email being sent right away, both seem to work in parallel. So this solution doesn’t work.

Does anyone know if Sailpoint stopped use of or supporting this attribute?

Do you know of any workaround to fetch other account attributes(from the account that was just provisioned) for use in this email template?

---

<div class="post-metadata">

**Author:** ![sharvari](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@sharvari](https://developer.sailpoint.com/discuss/u/sharvari)\
**Post date:** [July 8, 2024, 8:25am UTC](https://developer.sailpoint.com/discuss/t/new-account-provisioned-email-template/71326/2 "2024-07-08T08:25:40Z")

</div>

Just to add, we are considering using a workflow for sending email notification if the built in email template approach above won’t work.

---

<div class="post-metadata">

**Author:** ![SailAway](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@SailAway](https://developer.sailpoint.com/discuss/u/SailAway)\
**Post date:** [August 21, 2024, 11:23pm UTC](https://developer.sailpoint.com/discuss/t/new-account-provisioned-email-template/71326/3 "2024-08-21T23:23:59Z")

</div>

We had a similar problem with this. Other teams needed certain attributes to perform other provisioning activities on new hires. We created a saved search to find new accounts and send out daily.

created:[now-5h/h TO now]

Something like that. Depends on how you have the authoritative source setup and how often it syncs.

---

<div class="post-metadata">

**Author:** ![Sivakrishna1993](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/sivakrishna1993/32/25424_2.png) [@Sivakrishna1993](https://developer.sailpoint.com/discuss/u/Sivakrishna1993)\
**Post date:** [August 22, 2024, 6:42pm UTC](https://developer.sailpoint.com/discuss/t/new-account-provisioned-email-template/71326/4 "2024-08-22T18:42:22Z")

</div>

May be processing taking time and before it process your email is triggering.

We are also using identity attribute in the email temp but value already available to the user before email trigger so,I can see required username in the email. No issues for us by using identity attribute.

 ![IMG_2477](https://global.discourse-cdn.com/sailpoint/original/2X/8/8b6de20226ff334a54ce54706dbc1175d53df333.jpeg)

 ![IMG_2478](https://global.discourse-cdn.com/sailpoint/original/2X/f/fd46e14fbb5baef0dd358b10c100deb9e8555686.png)

Thanks,  
Siva.K

---

<div class="post-metadata">

**Author:** ![arjun\_sengupta](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/arjun_sengupta/32/3594_2.png) [@arjun\_sengupta](https://developer.sailpoint.com/discuss/u/arjun_sengupta)\
**Post date:** [August 22, 2024, 7:36pm UTC](https://developer.sailpoint.com/discuss/t/new-account-provisioned-email-template/71326/5 "2024-08-22T19:36:42Z")

</div>

Hi Sharvari,

We can get the identity attributes in the template such as email. I think for other account specific attributes, we may need to go with the workflow approach.

Regards  
Arjun

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [October 21, 2024, 7:36pm UTC](https://developer.sailpoint.com/discuss/t/new-account-provisioned-email-template/71326/6 "2024-10-21T19:36:43Z")

</div>

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