Pipeline notification emails sent to the wrong user

I have set up a cron script to synchronise a Visual Studio Team Foundation Server (TFS) repository with a Gitlab instance. The script pulls changes from TFS and pushes them to Gitlab once a minute, and is working fine. However, when a Gitlab pipeline is triggered from a push, the notification email is sent to the synchronize script’s account, despite the commits showing the correct author and recognising their Gitlab account.

I have included some screenshots to make this clearer:

This is an email sent to the synchronize user, which shows the author of the commit correctly (I have removed names, etc.)

The pipelines page of the project also shows the correct user

However the admin section shows the wrong user.

Is there a setting that can be changed to send the notification emails to the correct user?