Skip to content

NY-Daystar/Quorum

Repository files navigation

Title Quorum

Go Codacy Badge Quorum-CI License Version

GitHub Releases Total views

GitHub watchers GitHub forks GitHub Repo stars

GitHub repo size GitHub language count GitHub top language GitHub issues GitHub closed issues

Summary

User Guide

Program

This application allows to backup your mail from gmail

  1. Download Quorum.exe project from this link

  2. Then setup your gmail credentials

  3. Launch executable

  4. It gonna ask you to authorize the app to access on your gmail account Like below request access Authorize this app: https://accounts.google.com/ 🔄 Processus

    1. Click on the link
    2. Log into your gmail account
    3. Click on Authorize
  5. At this stage you will get in your folder application this gmail-backup/ │ ├── Quorum.exe ├── config.json ├── credentials.json ├── token.json └── backup/

  6. At now the application will backup all your mails into backup/ folder Process done

Create credentials

  1. Go into Google Cloud Console

  2. Create a project Click on project selector (top of page) New Project Name : Quorum

  3. Activate Gmail API Menu → APIs & Services → Library Search : Gmail API Click on Enable

  4. Configure OAuth consent screen Menu → APIs & Services → OAuth consent screen Choose Type : External Fill: App name → ex: Gmail Backup Tool Email → your email address

  5. Create credentials Menu → Credentials Click → Create Credentials → OAuth client ID Choose Type : Desktop App

  6. Finally download the json file le JSON It looks like

    {
        "installed": {
            "client_id": "...",
            "project_id": "...",
            ...
        }
    }

    Rename the file into credentials.json and put it in quorum/credentials.json

  7. Don't forget in Audience section add a Test User

Requirements

Get started

  1. Download Doppler project from this link

  2. Extract zip on your computer

  3. Launch Doppler.exe

    • The project ask you to choose a folder in your computer to rename files.
    • It will list folder files and submit several renaming.
    • After choosing one the application rename files automatically

Explainations

flowchart TD
    A[Oauth Authentication]
    B[Listing mail]

    subgraph msg [For each mail]
        direction TD
        D["Get Contents (Attachments, images, Subject, Date)"]
        E[Decode in EML]
        F[Save EML file]
        G[Decode in HTML]
        H[Save HTML file]
        D-->E
        D-->G
        E-->F
        G-->H
    end

    A-->B
    B-->msg
Loading

Contact

Credits

Made by Lucas Noga.
Licensed under GPLv3.

About

Golang tool to backup mail in gmail

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors