Prompt
How do I send account change notifications?
Latest observation
Sep 23, 2026
OpenAI APIWeb search: off
It depends on what system you mean by “account change notifications” and where you want them sent.
Common options are:
- Email: send a message when an account is created, updated, locked, deleted, password changed, etc.
- SMS / push notification: for security-sensitive events like password resets or MFA changes
- Webhook / API callback: notify another system in real time
- In-app notification: show a message in the application UI
- Audit log + alerts: record changes and alert admins on important events
A typical implementation looks like this:
-
Detect the account change
- e.g. user profile update, password change, role change, status change
-
Create an event
- Example:
account.updated,account.password_changed
- Example:
-
Send the notification
- Email via SMTP or a provider like SendGrid/Mailgun
- Webhook to subscribed systems
- Internal notification service / message queue
-
Include relevant details
- Who changed it
- What changed
- When it changed
- A security note if needed
- Links to review or undo the change if appropriate
-
Protect sensitive data
- Don’t include full passwords, secrets, or unnecessary personal data
- Verify recipients and avoid leaking info
Example notification text:
Your account details were updated on Sept 23, 2026 at 10:15 UTC.
Changes made: email address updated.
If you did not make this change, contact support immediately.
If you want, I can give you:
- a sample email template
- a webhook example
- or code for a specific stack like Node.js, Python, Java, or .NET.