• Stars
    star
    413
  • Rank 101,337 (Top 3 %)
  • Language
    Python
  • License
    Other
  • Created about 4 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

it will contain different utilities for GMail API over OAuth2

gmail-helper

to allow helpful GMail tasks over OAuth2 API using Google's API Client

details on how to get credentials json are here

Capabilities

  • Permanently delete mails based on search criteria allowed by GMail such as partial match of subject, to or from e-mail address fields (also allowing just domain match). Ran for a range of years provided by config as since_year and before_year.

by default it reads mails first and stores it locally (except attachments) in a sqlite DB separated by year of mail, then deletes

How to use: python3 delete-mails.py ./config-yamls/delete-mails-config.yaml

GMail API doc: developers.google.com/gmail/api/v1/reference/users/messages/delete

result after a recent run

Google storage freed by 9%

  • Fetch created GMail Labels and persist to a local DB

How to use: python3 get-labels.py ./config-yamls/get-labels-config.yaml

  • Get all GMail filters
  • persisted in db: python3 get-labels.py ./config-yamls/get-filters-config.yaml

  • exported to json in configured dir filters_json_basepath with adding switch --to-json to above command

  • Create a new/overwrite GMail filter

ToDo

  • offline backup of mails (all/filtered) into local SQLite3 db file; not of attachments

  • send mails from a custom template to a list of receivers

  • check recent mails for a specific mail, act as desired if received


For Contributors


More Repositories

1

n00bRAT

Remote Administration Toolkit (or Trojan) for POSiX (Linux/Unix) system working as a Web Service
C
170
star
2

ansible-dashr

Ansible Dashboard relying on existing Ansible code and logs
JavaScript
70
star
3

goshare

Go Share your TimeSeries/NameSpace/KeyVal DataStore (using leveldb) over HTTP &/or ZeroMQ
Go
62
star
4

tutorials_as_code

so that stuff read/seen don't get muddled up with time
Elixir
43
star
5

eden_guide_to_hacking

its quick to read, broadway guide to HACKING ~ for anyone to have grasp of important concepts and skills which makes up the knowledge base of a hacker
26
star
6

dory

secret sharing service with auto-expiry as default, doesn't need accounts
Go
20
star
7

timefs

a timeseries datastore using filesystem as datastore
Go
11
star
8

weeproxy

http reverse proxy for personal use
Go
9
star
9

raguel

raguel - the shell archangel
Shell
8
star
10

gol

Moving to github.com/gol-gol ; the GOLang Package of decent reusable pieces
Go
6
star
11

rubygem_rss_motor

an RSS Motor for your application to get rolling on using RSS Feeds
Ruby
5
star
12

gae-flat-web

a quick setup for creating a Flat Web {Web1.0 i.e. Static_Content i.e. HTML/CSS/JS} website over Google Appengine
Python
5
star
13

lyrical-video-generator

lyrical-video-generator is supposed to help create lyrical videos from audio or transcription
Python
5
star
14

bootkit

bootkit to use easily & quickly get ready with node
Ruby
5
star
15

ficklepickle

simple struct pickling library with compression & encryption | CRUD via file, db and tcp server
Go
4
star
16

capture

fun-project utilising power of go-opencv with golang
Shell
4
star
17

crypt

manage your secrets locally using AES
Go
4
star
18

tune.cli

[broken youtube link] tune (music) picker from cli
Shell
3
star
19

security-osint

[will be scrapped & (re)written] Security OSINT
Ruby
3
star
20

h4ck3rscan

it aims at enabling any user to easily test their own desired anomalies over online devices & web services
Ruby
2
star
21

ci-go-nfo

rubygem to keep a check at your ThoughtWorks' Go Continuous Integration Server from console
Ruby
2
star
22

rubygem_xml_motor

small XML Parsing Algorithm implemented directly in >250 lines without any Native Dependencies.
Ruby
2
star
23

momentdb

time-machine written for state of any key-factor across a time-frame
Go
2
star
24

axml-motor

axml-motor is a new easy and quick implementation of an XML Parser (http://www.slideshare.net/AbhishekKr/xmlmotor)
Ruby
2
star
25

bff

Big File Finder, simple program to find (all) files above a size at a target dir
Go
2
star
26

godot-samples

practice games made to learn godot
GDScript
2
star
27

dotfiles

engines for advanced usage of multiple *nix utilities
Vim Script
2
star
28

untech-yearning

learning from yearning of not computer dependent domains
2
star
29

rubygem_puppeteer

Puppeteer is there to ease out Puppet-izing the infrastructure. Automate the automation development.
Ruby
1
star
30

levigoNS

levigoNS ~ The same old leveldb at Go via levigo with NameSpaced Key powers
Go
1
star
31

dead.drop

online dead drop ~ http://en.wikipedia.org/wiki/Dead_drop ~ [not yet]
Go
1
star
32

wwwtf

world wide web's trolls and flaw
Ruby
1
star
33

eden_guide_to_vim

It's another in series of Eden Guides trying to spread whatever I learned using this brilliant editor.
Vim Script
1
star
34

levigoTSDS

LevelDB-Based Time Series Data Store
Go
1
star
35

webaudio-samples

example usages for w3c webaudio
JavaScript
1
star
36

ssack-IT

[conceptual-stage] Secure System Administration (with) Centralized Knowledge (about) IT
1
star
37

http_voodoo_mongo

remote control MongoDB over HTTP {{MongoDB REST API}} with System Service Script
Ruby
1
star
38

power.shell.ing

PowerShell foo for Modules
PowerShell
1
star
39

dafuq

dafuq is here to fix issues faced now and then, sometimes and often
Ruby
1
star
40

sitehoster

[[Language: JAVA]] a Web Server with security implemented as roots and not as armour... [its Java and not Javascript, weird Github]
JavaScript
1
star
41

arg0

It's just here to handle command line args. Mainly optional via switches.
Ruby
1
star
42

irc-qik-bot

pure socket no framework :: IRC Qik Bot ~ its a babbling IRC Bot very quick to setup and act ;) aiming to be intelligent
Ruby
1
star
43

insecurity-in-security

[document] finding out how NOT SECURE tech world have been
1
star
44

vim-dir

vim plugin opening file's directory in nautilus
Vim Script
1
star
45

knife-fu

starting with experimental set of chef knife plug-ins ~ maybe improve it to something useful with time
Ruby
1
star
46

twt

quick twitter-ing via twitter API uses
Shell
1
star
47

http200

friendly http server to use as placeholder for integration points of your service under development
Go
1
star
48

code_beautifier

Code for Beautification of Code..... By the Code For The Code
C
1
star
49

mfl

Market Forecast Learning | to learn to forecast market
Python
1
star
50

j

reducing javascript lib to minimal structure mostly needed not heavyweight contenders
JavaScript
1
star
51

securesys-winxp

SecureSys is WinXP System Tweaking App for Security and Customization; old project recovered from "CD"
Visual Basic
1
star
52

logalyzr

[WIP] logalyzr is there to help a particular event log spanned over multiple service component logs, to get entire picture
Ruby
1
star
53

dumplink

WARNING: Doesn't WORK now due to CSP.
Go
1
star
54

showman

[alpha-stage] an HTML based open-format Presentation SlideShow Creator ~ the created presentations are in simple HTML+JS+CSS format working over any browser and presented offline or hosted online
JavaScript
1
star
55

codestatd

it will be monitoring your code quality status (inspired from ZedShaw's CodeStatus sample)
Python
1
star
56

vachak

to read/listen books
Go
1
star
57

slick-port-scanner

(old code peice, unzipped with an intent of pro-fying) Slick Port Scanner is the most basic type of port scanner for Desired Port scan
Ruby
1
star
58

sample_project_flutter

it's a sample project for Flutter, to gradually grow with learning from varied tutorials
Dart
1
star
59

gae-private-web

[beta-stage] a quick setup for creating a Static Website but RESTRICTED only to allowed GMail Users... kin'of web portal you just want to share with your friends... FACE-UN-BOOK
1
star
60

a-techXpress-guide

all self-drafted easy and quick learning technology guides on several computer {security / development / yada-yada-yada} how-to topics
1
star
61

webhoudini

The Web Magician showing Online Tricks
Python
1
star
62

abk-labs.cucumber

collection of Cucumber based setups, derailed_cuke
Ruby
1
star
63

aqikcipher

encrypt-decrypt using a small shared password in a dumb One-Time-Pad style
C
1
star
64

gae-yum-my

make your own yum-my yum reposiotry using appengine
Python
1
star
65

dup

elixir cli to check for duplicate files at current directories
Elixir
1
star
66

messQ

just a simplistic project to mess around sockets and queue
Ruby
1
star
67

pywebvtt

Python file parser for WebVTT subtitles
Python
1
star
68

eden_guide_to_puppet

the puppet related stuff that could go opensource of'course
Puppet
1
star
69

imdb-cli

a cli to get some IMDB results on console
Go
1
star
70

nagiosMailAck

Nagios Add-on to Acknowledge Alert Notifications via Mail
Ruby
1
star
71

joycamp

thinkpol uses it to get the commands run
Shell
1
star
72

acodegen

a vision enabling development of SOFTWARES in a distributed env over WebPage like IDE its Compiler Project, has plug-n-play Code Generator based on XML (parse table); create SyntaxChecker->Parser for Language, generating XML-IC (i.e. IC=IntermediateCode) depicting parse tree; join -=aCodeGen=- & get full working compiler...
1
star
73

my_status

a service status dashboard to keep an eye on things
Elixir
1
star