Google Cloud Function for receiving inbound emails from Mailgun
- Receives messages POSTed by Mailgun (via forwarding route)
- Saves parsed message data to Google Datastore
- Saves email attachments to Google Cloud Storage
- Saves attachment metadata to Google Datastore (descendent of message)
- Create
npm
package forEmailProcessor
-- parametetise config and make project agnostic - Add functionality for webhook to receive "notify" requests from Mailgun (vs "forward")
- Add tests