mu_tags2notmuch#

Add notmuch tags to maildir w/ X-Keywords header in mails.

Functions#

get_notmuch_config()

Get notmuch config based on precedence.

add_tags(notmuch_db[, add_gmail])

Add tags from X-Keywords header to notmuch.

main([add_gmail])

Run the script.

Module Contents#

mu_tags2notmuch.get_notmuch_config()#

Get notmuch config based on precedence.

Return type:

str

mu_tags2notmuch.add_tags(notmuch_db, add_gmail=False)#

Add tags from X-Keywords header to notmuch.

Parameters:
  • notmuch_db (notmuch.Database)

  • add_gmail (bool)

Return type:

None

mu_tags2notmuch.main(add_gmail=False)#

Run the script.

Parameters:

add_gmail (bool)

Return type:

None