.TH MAILSYNC 1 .SH NAME mailsync \- sync mail accounts set up with .B aew. .SH SYNOPSIS .B mailsync [ .I OPTIONS ]... [ .I ACCOUNTS ] .SH DESCRIPTION .B mailsync syncs the mail of all accounts set up with .B aew, or if account names are given, syncs only those accounts. .B mailsync is a wrapper for .B mbsync and .B mpop, but also automatically reindexes new mail with .B notmuch, gives notifications if new mail is found and can also be set as a cronjob to sync and index mail quietly in the background. .SH COMMANDS .TP .B mailsync sync all mail accounts and notify user if there is new mail .TP .B mailsync account@example.org only sync the .B account@example.org account. .SH CONFIGURATION While .B mailsync gives notifications on the arrival of new mail by default, this can be diabled by setting the variable .I MAILSYNC_MUTE=1. .SH AUTHORS Written by Luke Smith for neomutt in 2018. .br Adapted for aerc by awy in 2025. .SH LICENSE GPLv3 .SH SEE ALSO .BR aew (1), .BR aerc (1), .BR aerc-config (1) .BR mbsync (1), .BR mpop (1), .BR msmtp (1), .BR notmuch (1), .BR abook (1)