Get an email account intent
Return the intent behind an EMAIL_ACCOUNT task (the professional mailbox of an employee or of an onboarding hire): the address to create, who receives the temporary password and when, the groups, roles, licenses and organization units, and executedAt once the mailbox exists. Use it to answer when and to whom the credentials of a new mailbox are or were sent. Take the intentId from the EMAIL_ACCOUNT task of the onboarding ticket (getOnboarding gives its ticketId, getTicket lists its tasks with their type and intentId). credentialsRecipient is who receives the temporary password (type and email). credentialsSendAt still ahead when the mailbox is created, with a recipient email and a provider that can reset passwords (Google Workspace, Entra): the mailbox is created without the password and Primo sends it within 30 minutes after that time. Otherwise the password is sent with the mailbox, at executedAt. Primo keeps no record of the send itself, so a past credentialsSendAt means it was due, not that it was delivered. The password is never returned. To change the recipient or the date before the mailbox exists, use updateEmailAccountIntent. Refused with INTENT_NOT_FOUND.
Authorizations
Response
When the temporary password is sent; null: as soon as the mailbox is created
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$When the mailbox was created; null while the intent can change
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$