title: Use Cloud Pub/Sub to trigger sending of email
body: <p>I'm trying to figure out how to use Cloud Pub/Sub to trigger the sending of an email when a file is added to a storage bucket.</p>
  
  <p>Currently using PHP72 in Google App Engine standard environment.  First I created a Topic that creates a message when a file is added to the storage bucket.  Then I created a Pull subscription which reads the message. I can view the messages in the GCP console, but what I would like to happen is that I want to be notified by email, preferably with a copy of the file added to the email as an attachment.  Is this possible?  I tried looking for a solution or tutorial but came up empty.</p>