{"id":17057961,"url":"https://github.com/chimeracoder/go-yo","last_synced_at":"2026-03-11T19:33:05.542Z","repository":{"id":9622078,"uuid":"11549603","full_name":"ChimeraCoder/go-yo","owner":"ChimeraCoder","description":"A yo-yo for email, written in Go","archived":false,"fork":false,"pushed_at":"2015-03-11T20:19:00.000Z","size":257,"stargazers_count":24,"open_issues_count":4,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T12:03:58.134Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChimeraCoder.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-20T16:20:05.000Z","updated_at":"2022-09-30T19:47:23.000Z","dependencies_parsed_at":"2022-08-25T23:30:38.555Z","dependency_job_id":null,"html_url":"https://github.com/ChimeraCoder/go-yo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChimeraCoder%2Fgo-yo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChimeraCoder%2Fgo-yo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChimeraCoder%2Fgo-yo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChimeraCoder%2Fgo-yo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChimeraCoder","download_url":"https://codeload.github.com/ChimeraCoder/go-yo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248608890,"owners_count":21132808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T10:28:31.517Z","updated_at":"2026-03-11T19:33:00.498Z","avatar_url":"https://github.com/ChimeraCoder.png","language":"Go","readme":"go-yo\n===========\n\n\nGo-Yo is like a yo-yo for email. The goal is to be self-hosted, giving the user full control over the deployment, and avoiding potential privacy or security issues with third-party services.\n\n\n\nBouncing Workflow\n-----------------\n\nYou will need to create a dedicated email address for bouncing Go-Yo email. For the purposes of this workflow, we will assume that your Go-Yo email address is `goyo@example.com`\n\n(Almost) any email address will do, as long as you can receive mail there, **and** as long as your email provider allows you to create variants of your email address, like `goyo+foo@example.com`. (Google/Gmail follows this convention - if you use another mail provider, please verify this).\n\n\nIn an email client such as `mutt`, simply bounce (or forward) an email to `goyo+3.hours@example.com` in order to have that thread bumped back to the top of your inbox in 3 hours. You can also do things like `goyo+5.days@example.com`, and `goyo+on.june.1@example.com`.\n\nFor the time being, Go-Yo will be very conservative with how it parses this email address. This is a good thing; you don't want Go-Yo to think you want a reminder in six months when you really meant six minutes. If there are any problems with parsing the bounce interval, Go-Yo will send an error message (via email) **immediately**, so you can deal with it right away. No surprises.\n\n\n\nScheduling Workflow\n---------------------\n\nGo-Yo can also be used to schedule messages. The exact workflow for this is TBD.\n\n\n\nUnder the hood\n------------------\n\nGo-Yo uses the Maildir format for interoperability. Documentation about the Maildir format is available at http://cr.yp.to/proto/maildir.html\n\nUse a service such as `offlineimap` to fetch new messages and write them to the Maildir. Once new emails appear in the /new subdirectory, they are ready for processing by Go-Yo.\n\nGo-Yo finds new messages in /new and, after processing them and scheduling the 'bounce' message, moves them to the /cur directory, adding the *info* string to the filename (see documentation) - and, specifically, setting the message flag to **S** (seen).\n\nGo-Yo uses the unique portion of the filename to identify which messages to bounce.\n\n\nAfter delivery, Go-Yo does *not* delete (ie, set flag **T** - trashed) for messages. This allows easy debugging and poor-man's logging.\n\n\n\n\n\n\nSetup\n-----------------\n\n(This setup procedure is subject to change until the first stable release of `go-yo`. Until then, `go-yo` must be compiled from source and run manually).\n\n\n````\nec2-run-instances ami-d0f89fb9 -k KEYPAIR_NAME \n````\n\nSSH into the instance once it's up and running. \n\nFirst, we'll need to install Go \n\n\n````\nwget https://go.googlecode.com/files/go1.1.2.linux-amd64.tar.gz\nsudo tar -C /usr/local -xzf go1.1.2.linux-amd64.tar.gz\nexport PATH=$PATH:/usr/local/go/bin\n````\n\nSet your GOPATH\n\n````\necho \"export GOPATH=~/go\" \u003e\u003e ~/.bashrc \u0026\u0026 source .bashrc\n````\n\nInstall `offlineimap` and `git` if they are not already installed.\n````\nsudo apt-get install offlineimap git\n````\n\n\nThen, populate `~/.offlineimaprc` with the following (create it if it does not exist).\n\n````\n[general]\nui = ttyui\naccounts = GMail\n\n[Account GMail]\nlocalrepository = Gmail-Local\nremoterepository = Gmail-Remote\n#Controls how many accounts may be synchronized simultaneously\nmaxsyncaccounts = 3 \nmaxconnections = 3 \n\n[Repository Gmail-Local]\ntype = Maildir\nlocalfolders = ~/mail/GMail\n\n[Repository Gmail-Remote]\ntype = Gmail\nremoteuser = YOUR_EMAIL_ADDRESS@gmail.com\nremotepass = YOUR_PASSWORD_HERE\nsslcacertfile = /etc/ssl/certs/ca-certificates.crt\nrealdelete = no\n# Instead of closing the connection once a sync is complete, offlineimap will\n# send empty data to the server to hold the connection open. A value of 60\n# attempts to hold the connection for a minute between syncs (both quick and \n# autorefresh)\nkeepalive = 60\n````\n\n\n````\nmkdir -p ~/mail/GMail\n````\n\n\nTest it out now\n\n````\nofflineimap -o\n````\n\nIf you get no error messages, synchronization worked, and you should now have a complete folder mail within `~/mail/GMail`\n\n\nNow, time to install `go-yo`\n\n````\ngo get github.com/ChimeraCoder/go-yo\n````\n\n\nStart running `go-yo`\n````\n$GOPATH/bin/go-yo -rootdir ~/mail/GMail/INBOX/ -email YOUR_EMAIL_ADDRESS -password EMAIL_PASSWORD -configuredemail CONFIGUREDEMAIL\n````\n\n\nEventually you will want to [run `offlineimap` in the background](https://wiki.archlinux.org/index.php/OfflineIMAP#Running_offlineimap_in_the_background)\n\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchimeracoder%2Fgo-yo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchimeracoder%2Fgo-yo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchimeracoder%2Fgo-yo/lists"}