E-mail notification

The only way to provide any notification or communication via code is by creating a Note entity and linking this to your PublishedFile. This still requires Account Settings changes for the recipient to enable an email notification however, specifically:

Email me whenever I receive a note.
Email me about Notes that I’m involved in (those that I’ve created or replied to, or where I’m a recipient, except for file attachments).

Check out the following post for a Python API example:

And for a REST API example: