# send clacks
 my_hdr X-Clacks-Overhead: GNU Terry Pratchett
-my_hdr Bcc: sent@rmz.io
 
 # goobook
 set query_command = "goobook query '%s'"
 auto_view text/html                                     # view html automatically
 alternative_order text/plain text/enriched text/html    # save html for last
 
-# IMAP: offlineimap
+# IMAP: mbsync
 set folder       = "$MAILDIR"       # mail folder
-set spoolfile    = "+gmail/inbox"   # set inbox
-unset record                        # do not move sent msgs to a folder, gmail does that
-unset move                          # do not move read msgs, gmail does that
-set postponed    = "+gmail/drafts"  # drafts folder
 set header_cache = "~/.cache/mutt"  # cache headers for speedss
-source mailboxes                    # source mailboxes generetated by offlineimap
 
 # SMTP: msmtp
 set sendmail = /usr/bin/msmtp       # use msmtp
 source hooks
 source bindings
 source colors/badfox         # color theme
+
+source accounts/gmail  # source default account