Cloud Agent injects the wrong email in the Co-authored-by git hook

Where does the bug appear (feature/product)?

Background Agent (GitHub, Slack, Web, Linear)

Describe the Bug

It always uses the primary email address of my GitHub account, which is my personal email, instead of the work email shown in my Cursor account settings. Alternatively, can we have a setting for this?

Steps to Reproduce

  1. Create a github account with primary email A
  2. Add work email B to the account
  3. Create cursor account with work email B and link with github
  4. Create a PR from Cursor Cloud Agent in the work org

Expected Behavior

The email associated with the cursor account (work email B) should be used to sign the commit/PR description.

Operating System

MacOS

Version Information

Cloud Agent

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @Hexcles

Cursor always uses the primary e-mail address on your GitHub account, which I agree is not ideal. Short of changing your primary e-mail, unfortunately, I don’t have a workaround to share, but I’ve filed your feedback with the team!