command
module
Version:
v0.0.0-...-91210d6
Opens a new window with list of versions in this module.
Published: Jan 17, 2022
License: AGPL-3.0
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
gmail-cleanup
CLI tool for deleting attachments from gmail messages
Quickstart
- Create GCP OAuth client ID credentials following these instructions: Create OAuth client ID credentials
- Download the credentials as
credentials.json
to the repo directory.
- Install depedencies:
go get google.golang.org/api/gmail/v1
go get golang.org/x/oauth2/google
go run remove-attachments.go 'size:10000000'
Documentation
¶
*
- @license
- Copyright Google Inc.
*
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
*
- https://www.apache.org/licenses/LICENSE-2.0
*
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
[START gmail_quickstart]
Source Files
¶
Click to show internal directories.
Click to hide internal directories.