GAD has a Resource called GHTTPS. This is an HTTPS connection to your GAS installation.
Upon receipt of a file (however it's uploaded) it's easy to trigger a GAD Project to process that file. That GAD Project could include a GHTTPS task that makes a connection back to GAS, then sends the attached file out via Secure Mail ... instigated by the GAD Project automatically.
In pseudo terms ...
Code: Select all
SFTP(Put) -> GAS
GAS(Trigger) -> GAD
GAD(Project) -> GHTTPS(Task) -> GAS
GAS(Secure Mail) -> External Email