Dotfiles and some scripts for NeoMutt

Related tags

Emailmutt_dotfiles
Overview

Mutt dotfiles

Robust Mutt configs with examples for the following account types:

  • Generic IMAP/SMTP
  • Google (Gmail/Gsuite etc) via IMAP/SMTP
  • Microsoft Office365 via IMAP/SMTP
  • Microsoft Office365 using DavMail (useful if app passwords or direct IMAP/SMTP access are disabled)

Some Features

  • Query and save contacts via abook, goobook or LDAP (for Office365, query only)
  • Good calendar invite handling: render calendar invites inline and respond to them with A when viewing the calendar invite attachment
  • Nice handling of inline text/html rendering (use C-l to open up all links the email - great for quickly finding unsubscribe links)
  • Secure configs (no hardcoded passwords etc)
  • Global search via NotMuch (C-f)
  • Everything looks really nice :)
  • Includes all peripheral configs for isync, msmtp, notmuch etc

Dependencies

  • NeoMutt (latest version, all compile options enabled)
  • glow (nicer plain text email rendering)
  • Lynx (render HTML emails, W3m works well too)
  • Notmuch (for email search)
  • Isync (for syncing emails via IMAP)
  • MSMTP (for sending emails via SMTP)
  • Perl (for rendering calendar invites - you might need to install some perl deps via CPAN, can't remember)
  • python-vobject (for interacting with calendar invites)
  • python-icalendar (for interacting with calendar invites)
  • python-pytz (for interacting with calendar invites)
  • python-tzlocal (for interacting with calendar invites)
  • DavMail (if you want to use Office365/Outlook mail and the company locks down IMAP access)
  • openldap (for using ldapsearch if you want to look up contacts on office365 etc - required DavMail)
  • abook (basic contact management)
  • goobook (if you want to use google contacts instead)
  • gcalcli (if you want to import events into a google calendar)

Contents

  • ./neomutt.desktop - a desktop file for opening mutt via the GUI inside the Kitty terminal. Stick it in /usr/share/applications
  • bin/import_calendar_invite - imports a calendar invite into google calendar with gcalcli and then calls mutt-ical to respond to the invite
  • bin/ldap_owa_query - allows contact searching via LDAP (used for coroprate office365/outlook accounts)
  • bin/mailsync - a great script that syncs your mail, originally written by Luke Smith
  • bin/mutt-ical - used to respond to email calendar invites
  • bin/mutt-vcalendar-filter - used to render email calendar invites in Mutt
  • bin/mutt-viewical - used to render email calendar invites in Mutt
  • .config/isync/mbsyncrc - configuration file for isync (used to sync your emails). There are examples of many different account types to use as a starting point
  • .config/msmtp/config - configuration file for msmtp (used to send emails). There are examples of many different account types to use as a starting point
  • .config/mutt/accounts/* - individual config files for each email account you wish to use in Mutt. There are examples of many different account types to use as a starting point
  • .config/mutt/muttrc - the main Mutt config - use this to customize various settings/macros/bindings etc
  • .config/mutt/styles.muttrc - my custom styling for Mutt - you shouldn't need to tweak this much/at all
  • .config/mutt/dracula.muttrc - the dracula color scheme - remove or replace if you want different colors
  • .config/mutt/mailcap - mailcap file for detrening how to render different types of emails/attachments - customize as needed (there's already quite a lot of handy stuff in there)
  • .config/notmuch/notmuchrc - config file for notmuch (used for searching emails) - you will need to change some values in here such as your name/email
  • .config/systemd/user/calendar-remind* - systemd timer/service files for repeatedly calling gcalcli remind (to generate notifications 15 mins before an event starts). Enable with systemctl --user enable calendar-remind.timer or delete if you don't need.
  • .config/systemd/user/gcalcli* - systemd timer/service files for repeatedly calling gcalsync (to sync gcalcli with google calendar). Enable with systemctl --user enable gcalcli.timer or delete if you don't need.
  • .config/systemd/user/mailsync* - systemd timer/service files for repeatedly calling mailsync (to sync your emails). Enable with systemctl --user enable mailsync.timer

Setup

  • Install any dependencies you need based on your use cases from the above list
  • Move the stuff in .config into your existing .config directoy inside your home folder
  • Move the stuff you need from the bin folder into /usr/local/bin (don't forget to chmod +x them)
  • Go through each config file and customize it - there are comments/instructions in each file
  • Enable any systemd services you need (or use something like cron)
Owner
CEUK
I make things
CEUK
Command line interface for sending email using SMTP (ships with Gmail configuration).

mailsend Description Lightweight command line interface for sending email using SMTP. Default configuration is set for Gmail (smtp.gmail.com at port 5

Keith Mathe 1 Mar 22, 2022
automatic mails sender with attachments

أزعجني لين تدربني Automatic mails sender with attachments. Note: You need to have gmail account & and you need to turn on "Less secure app access" set

6 Dec 30, 2022
An API to send emails through python3's smtplib module.

An API to send emails through python3's smtplib module. Just configure your SMTP server credentials and you are ready to send a lot of emails through API, designed to be used as a newsletter service.

Adnan Ahmad 15 Nov 24, 2022
send email & telegram message whenever an analog in is recieved

send email & telegram message whenever an analog in is recieved (so when attached to an alarm siren out it will alert via mail)

Naor Livne 2 Feb 11, 2022
A simple email sender

Email-Sender Un semplice Email-Sender che utilizza il modulo smtplib con aggiunta di interfaccia grafica realizzata con il modulo tkinter Per il corre

Vincenzo Caliendo 0 Jan 14, 2022
A light-weight, modular, message representation and mail delivery framework for Python.

Marrow Mailer A highly efficient and modular mail delivery framework for Python 2.6+ and 3.2+, formerly called TurboMail. © 2006-2019, Alice Bevan-McG

Marrow Open Source Collective 255 Dec 28, 2022
Email-osint - Email OSINT tool written in python3

Email-osint - Email OSINT tool written in python3

Surtains 7 Nov 28, 2022
Search email inbox with python and filter with search criteria via IMAP4 and fastapi or console

Search email inbox with python and filter with search criteria via IMAP4 and fastapi or console

Karma Computing 0 Sep 07, 2021
Churn Emails Inbox - Churn Emails Inbox Using Python

Churn Emails Inbox In this project, I have used the Python programming langauge

2 Nov 13, 2022
ParaskinioTouristOffices - This program sends a message to various email adresses

ParaskinioTouristOffices This program sends a message to various email adresses.

Odysseas Psomaderis 2 Feb 11, 2022
A simple library project, a library function to make a temporary email, receive all messages

fake-email A simple library project, a library function to make a temporary email, receive all messages Installation : pip install fake-email Example

muntazir halim 13 Sep 15, 2022
This is a bot that interacts with you over voice and sends mail.Uses speech_recognition,pyttsx3 and smtplib

AutoMail This is a bot that interacts with you over voice and sends mail Before you run the bot , go to mail.py and put your respective email address

Aditya Subrahmanya Bhat 2 Nov 04, 2022
Mail hosting made simple

Modoboa Modoboa is a mail hosting and management platform including a modern and simplified Web User Interface. It provides useful components such as

Modoboa 2.4k Jan 03, 2023
faceFarm is an active yahoo email detection script that functions to take over the facebook account using email.

faceFarm – The simple Email Detector. Email Valid Detector for Facebook (Yahoo) faceFarm is an active yahoo email detection script that functions to t

Fadjrir Herlambang 2 Jan 18, 2022
This simple python script uses cv2 to create and mail certificates to participants of workshops.

This simple python script uses cv2 to create and mail certificates to participants of workshops. Just collect the names and email ids of participants in a csv file (i used google docs), and place it

Sounder Rajendran 0 Dec 19, 2022
GMailBomber is a form of Internet abuse which is perpetrated through the sending of massive volumes of email to a specific email address with the goal of overflowing the mailbox and overwhelming the mail server hosting the address, making it into some form of denial of service attack.

GMailBomber is a form of Internet abuse which is perpetrated through the sending of massive volumes of email to a specific email address with the goal of overflowing the mailbox and overwhelming the

Muneeb 5 Nov 13, 2022
Certificate generating and mailing system

skylab-certificate-system Through the this system, you can generate personalized certificates for people with name-surname-mail information in an exce

Oğuzhan Ercan 9 Sep 27, 2022
A Pythonic interface for Google Mail

GMail for Python A Pythonic interface to Google's GMail, with all the tools you'll need. Search, read and send multipart emails, archive, mark as read

Charlie Guo 1.7k Dec 29, 2022
Dotfiles and some scripts for NeoMutt

Mutt dotfiles Robust Mutt configs with examples for the following account types: Generic IMAP/SMTP Google (Gmail/Gsuite etc) via IMAP/SMTP Microsoft O

CEUK 29 Jan 04, 2023
EmailAll - a powerful Email Collect tool

EmailAll A powerful Email Collect tool 0x1 介绍 😲 EmailAll is a powerful Email Co

473 Dec 22, 2022