Feature request for product/service
Cursor IDE
Describe the request
After the code generation is complete, notify my phone, send me an email, etc. Is that possible? How can it be implemented?
Cursor IDE
After the code generation is complete, notify my phone, send me an email, etc. Is that possible? How can it be implemented?
Hey, good question. This is partly available already, and there’s a solid workaround for the rest.
What’s already built in:
For phone and watch notifications:
Cursor supports Hooks: Hooks | Cursor Docs
These are custom scripts that run on agent events. There’s a stop event that fires when the agent finishes. You can use it to send any notification you want.
A community member already built this. It sends push notifications via ntfy to your phone or watch when the agent stops:
Install:
npx cursor-hook install beautyfree/cursor-ntfy-on-stop-hook
For email, you can write a similar hook using the stop event that calls an email API like SendGrid or Mailgun. The hooks docs include examples to get you started.
Related thread: Push Notifications (Mobile/Desktop) When Agent Needs User Input or Approval