Tells a person that a credential of theirs was added, removed or
changed (#2163): at once, or — inside batch() — as one line of the
one notice the batch sends when it ends.
Never throws. Off with mail.credentialChangeNotices (or every
security notice, mail.securityNotices), or without a transport.
Parameters
item: CredentialChangeItem
{ username, kind, change, label, by }: kind one of
the kinds above, changeadded, generated, removed or
changed, byuser or admin
Returns any
what notice() answered, { ok: true, batched: true }, or a
skip
Tells a person that a credential of theirs was added, removed or changed (#2163): at once, or — inside
batch()— as one line of the one notice the batch sends when it ends.Never throws. Off with
mail.credentialChangeNotices(or every security notice,mail.securityNotices), or without a transport.