{ ... }:
{
  programs.thunderbird = {
    enable = true;
    settings = {
      # https://superuser.com/a/13551
      "mailnews.wraplength" = 80;
      "mail.pane_config.dynamic" = 2;
      "mail.biff.play_sound" = false;
      "mail.chat.play_sound" = false;
      # Never allow cookies
      "network.cookie.cookieBehavior" = 2;
      "mailnews.start_page.enabled" = false;
      # 1 = Ascending
      # 2 = Descending
      "mailnews.default_sort_order" = 2;
      # 17 = None
      # 18 = Date
      # 19 = Subject
      # 20 = Author
      # 21 = ID (Order Received)
      # 22 = Thread
      # 23 = Priority
      # 24 = Status
      # 25 = Size
      # 26 = Flagged
      # 27 = Unread
      # 28 = Recipient
      # 29 = Location
      # 30 = Label
      # 31 = Junk Status
      # 32 = Attachments
      # 33 = Account
      # 34 = Custom
      # 35 = Received
      "mailnews.default_sort_type" = 18;
    };
    profiles.nico = {
      isDefault = true;
    };
  };
}