com.apple.developer.mail-client entitlement issue

We have an app with the default email entitlement that was granted several years ago. During our latest deployment, we received an error from our pipeline. When testing a manual submission in Xcode, we saw this error:

Entitlement com.apple.developer.mail-client not found and could not be included in profile. This likely is not a valid entitlement and should be removed from your entitlements file.

We checked the provisioning profile, and the default email entitlement is still present. It is visible on the certificate portal and also in the embedded.mobileprovision file.

Can you suggest what we can do to release a new version of our app?

com.apple.developer.mail-client entitlement issue
 
 
Q