# vim: ft=muttrc
+reply-hook . source ~/.mutt/accounts/gmail
+reply-hook "%L chakra" source ~/.mutt/accounts/chakra
+reply-hook "%L unimaas" source ~/.mutt/accounts/unimaas
+reply-hook "%L cadscan" source ~/.mutt/accounts/cadscan
+
folder-hook . source ~/.mutt/accounts/gmail
folder-hook chakra source ~/.mutt/accounts/chakra
folder-hook unimaas source ~/.mutt/accounts/unimaas
+folder-hook cadscan source ~/.mutt/accounts/cadscan
folder-hook * "exec collapse-all"
+
+# limit inbox to Unread and Flagged mails
+folder-hook inbox push '<limit>=(=U|=F)<enter>'
+# delete mails older than 3 months
+folder-hook inbox push '<delete-pattern>!~(~U|~F|~d<3m)<enter>'
+
+# limit youtube to Unread and Flagged mails
+folder-hook youtube push '<limit>=(=U|=F)<enter>'
+# delete other mails
+folder-hook youtube push '<delete-pattern>!~(~U|~F)<enter>'