SCRT-HQ / PSGSuite

Powershell module for Google / G Suite API calls wrapped in handy functions. Authentication is established using a service account via P12 key to negate the consent popup and allow for greater handsoff automation capabilities
https://psgsuite.io/
Apache License 2.0
234 stars 68 forks source link

Remove Gmail signature #342

Open lucafabbri365 opened 3 years ago

lucafabbri365 commented 3 years ago

Hello, I was searching for a way to remove end user' signature on Gmail, completely. Running cmdlet below will remove the signature assignment for new emails only:

Update-GSGmailSignature -User <paul.allen@domain.com> -SendAsEmail <paul.allen@domain.com> -Signature $null

image

Is there a way to remove signature assignment on reply/forward too and delete all signatures from Gmail ?

Thank you, Luca

Buenno commented 3 years ago

Unfortunately not, there is no API resource available for this (at least not that I can find, and I've spent a while looking!).