I am leveraging the graph api in powershell to automatically send emails to users.
This script is designed to run unattendedly, so i can not impersonate a user by logging in interactively.
In order to do so, i've created a service principal with application* permissions to the mail service of the tenant.

However the mail permissions that can be assigned are far too large, as i don't want this service to be able to send mail as any user.
Is there a way to scope this permission such as my SP could only send mail with a specific service account that i would provision in azure ad, with the constraint of not being able to log in interactively prior to the script execution ?