There're a lot of combinations to manage your email with emacs, but this works for me. I've a backup and I can manage my daily email.
The stack:
- emacs
 - offlineimap
 - mu
 - mu4e
 
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh | 
| #!/bin/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx | 
| ;;; dto-org-gtd.el --- dto's org-mode configuration for GTD | |
| ;;; http://orgmode.org/worg/code/elisp/dto-org-gtd.el | |
| ;; Copyright (C) 2007 David O'Toole | |
| ;; Author: David O'Toole(require 'org) <[email protected]> | |
| ;; Keywords: tools | |
| ;; This file is free software; you can redistribute it and/or modify | |
| ;; it under the terms of the GNU General Public License as published by | 
| require 'net/http' | |
| require 'json' | |
| require 'uri' | |
| @token = '' | |
| def list_files | |
| ts_to = (Time.now - 30 * 24 * 60 * 60).to_i # 30 days ago | |
| params = { | |
| token: @token, | 
| """ | |
| A basic Shopware 5 API client I threw together for a project. There's a few gotchas in here that | |
| I thought are useful enough to others to publish it. But please take it as is - it works for my | |
| purpose (processing Shopware articles daily), I make no claims beyond that. | |
| """ | |
| import logging | |
| import os | |
| import requests | 
| ;; animations | |
| ;; Requires =emacs-mac= fork | |
| ;; repo: https://bitbucket.org/mituharu/emacs-mac | |
| ;; homebrew tap: https://github.com/railwaycat/homebrew-emacsmacport | |
| ;; Crazy example | |
| (mac-start-animation nil :type 'page-curl-with-shadow | |
| :duration 1.0 :direction 'right :angle 45) | |
| ;; Less crazy | |
| (mac-start-animation (selected-window) :type 'move-out |