Open
Description
Currently we send a notification email every time a Trusted Publisher is used within an environment for a publisher that is not constrained to an environment:
warehouse/warehouse/oidc/views.py
Lines 325 to 342 in 071ee72
This is somewhat spammy for users who choose not to do this intentionally, with no ability to disable the notifications.
We should only send this email once per publisher. This could be done by adding an additional column on the publisher that indicates whether a warning has been sent or not.