Inbox Mailbag

Inbox Mailbag

Inbox Mailbag lets you treat your inbox as yet another bag that you can take things from. It will collate items into singular stacks and supports search hilighting to help you find specific items within your inbox.

For instance, I keep a supply of Pandaren cooking foods in my inbox, and use this addon to help search through the messages to find the cooking materials I need.

2.0 Features

This new version attempts to add a selection of options for more advanced users.

  • Advanced mode for retrieving gold from your mail
  • Quality Colors to tell your blues from your greens
  • Making Inbox Mailbag your default Mailbox page

These all need to be enabled under the options panel at Interface -> Addons -> Inbox Mailbag

A big thank you to Partha for their help refining my additions. And thank you to BNSSNB for localization to Chinese.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of eraqus4771 eraqus4771 Mar 30, 2013 at 03:51 UTC - 0 likes

    Thank you BNSSNB for the localization!

    I'm going to look into the curseforge localization options more. They might be unhappy with my three enabled/disabled option messages as functions.

  • Avatar of Brefin Brefin Mar 08, 2013 at 13:39 UTC - 0 likes

    Thank you BNSSNB for the localization!

    I'm going to look into the curseforge localization options more. They might be unhappy with my three enabled/disabled option messages as functions.

  • Avatar of BNSSNB BNSSNB Mar 07, 2013 at 02:57 UTC - 0 likes

    v2.0 Localization zhCN code:

    local L = LibStub("AceLocale-3.0"):NewLocale("InboxMailbag", "zhCN", false)
    
    if L then
    	L["BAGNAME"] = "邮包";
    	L["FRAMENAME"] = "信箱邮件包裹";
    	L["Group Stacks"] = "群组堆叠";
    
    	L["DELETED_1"]  = "%s 从 %s |cffFF2020 将删除于 %s 后|r";
    	L["RETURNED_1"] = "%s 从 %s |cffFF2020 将返回于 %s 后|r";
    	L["DELETED_7"]  = "%s 从 %s |cffFF6020 将删除于 %d |4日:日; 后|r";
    	L["RETURNED_7"] = "%s 从 %s |cffFFA020 将返回于 %d |4日:日; 后|r";
    	L["DELETED"]    = "%s 从 %s |cff20FF20 将删除于 %d |4日:日; 后|r";
    	L["RETURNED"]   = "%s 从 %s |cff20FF20 将返回于 %d |4日:日; 后|r";
    
    	L["TOTAL"]      = "总计讯息: %d";
    	L["TOTAL_MORE"] = "总计讯息: %d (%d)";
    	
    	L["Advanced"] = "进阶"
    	L["ADVANCED_MODE_DESC"] = "启用进阶模式。显示您信箱更多的讯息,并且能很好的挽回大笔的金钱。"
    	L["ADVANCED_MODE_CHANGED"] = function(enabled) return "|cff00ff96InboxMailbag: 进阶模式|r "..(enabled and "启用" or "关闭") end
    	
    	L["Quality Colors"] = "品质着色"
    	L["QUALITY_COLOR_MODE_DESC"] = "启用可由物品的边框显示物品的品质"
    	L["QUALITY_COLORS_MODE_CHANGED"] = function(enabled) return "|cff00ff96InboxMailbag: 品质着色|r "..(enabled and "启用" or "关闭") end
    
    	L["MAIL_DEFAULT"] = "预设为邮包"
    	L["MAIL_DEFAULT_DESC"] = "启用此选项会导致信箱最初打开的是邮包,而非一般" .. INBOX
    	L["MAIL_DEFAULT_CHANGED"] = function(enabled) return "|cff00ff96InboxMailbag: 信箱预设为|r "..(enabled and "信箱邮包" or INBOX) end
    end
    
    Last edited Mar 07, 2013 by BNSSNB
  • Avatar of BNSSNB BNSSNB Mar 07, 2013 at 02:56 UTC - 0 likes

    v2.0 Localization zhTW code:

    local L = LibStub("AceLocale-3.0"):NewLocale("InboxMailbag", "zhTW", false)
    
    if L then
    	L["BAGNAME"] = "郵包";
    	L["FRAMENAME"] = "信箱郵件包裹";
    	L["Group Stacks"] = "群組堆疊";
    
    	L["DELETED_1"]  = "%s 從 %s |cffFF2020 將刪除於 %s 後|r";
    	L["RETURNED_1"] = "%s 從 %s |cffFF2020 將返回於 %s 後|r";
    	L["DELETED_7"]  = "%s 從 %s |cffFF6020 將刪除於 %d |4日:日; 後|r";
    	L["RETURNED_7"] = "%s 從 %s |cffFFA020 將返回於 %d |4日:日; 後|r";
    	L["DELETED"]    = "%s 從 %s |cff20FF20 將刪除於 %d |4日:日; 後|r";
    	L["RETURNED"]   = "%s 從 %s |cff20FF20 將返回於 %d |4日:日; 後|r";
    
    	L["TOTAL"]      = "總計訊息: %d";
    	L["TOTAL_MORE"] = "總計訊息: %d (%d)";
    	
    	L["Advanced"] = "進階"
    	L["ADVANCED_MODE_DESC"] = "啟用進階模式。顯示您信箱更多的訊息,並且能很好的挽回大筆的金錢。"
    	L["ADVANCED_MODE_CHANGED"] = function(enabled) return "|cff00ff96InboxMailbag: 進階模式|r "..(enabled and "啟用" or "關閉") end
    	
    	L["Quality Colors"] = "品質著色"
    	L["QUALITY_COLOR_MODE_DESC"] = "啟用可由物品的邊框顯示物品的品質"
    	L["QUALITY_COLORS_MODE_CHANGED"] = function(enabled) return "|cff00ff96InboxMailbag: 品質著色|r "..(enabled and "啟用" or "關閉") end
    
    	L["MAIL_DEFAULT"] = "預設為郵包"
    	L["MAIL_DEFAULT_DESC"] = "啟用此選項會導致信箱最初打開的是郵包,而非一般" .. INBOX
    	L["MAIL_DEFAULT_CHANGED"] = function(enabled) return "|cff00ff96InboxMailbag: 信箱預設為|r "..(enabled and "信箱郵包" or INBOX) end
    end
    
    Last edited Mar 07, 2013 by BNSSNB
  • Avatar of Brefin Brefin Feb 27, 2013 at 15:49 UTC - 0 likes

    Given the imminent release of 5.2, I'm inclined to wait for Patch day. That way I can double-check everything, update the TOC, and then tag Inbox Mailbag as a 2.0 release.

  • Avatar of BNSSNB BNSSNB Feb 27, 2013 at 06:59 UTC - 0 likes

    Localization zhCN code:

    local L = LibStub("AceLocale-3.0"):NewLocale("InboxMailbag", "zhCN", false)
    
    if L then
    	L["BAGNAME"] = "邮包";
    	L["FRAMENAME"] = "信箱邮件包裹";
    	L["Group Stacks"] = "群组堆叠";
    
    	L["DELETED_1"]  = "%s 从 %s |cffFF2020 将删除于 %s 后|r";
    	L["RETURNED_1"] = "%s 从 %s |cffFF2020 将返回于 %s 后|r";
    	L["DELETED_7"]  = "%s 从 %s |cffFF6020 将删除在 %d |4日:日;|r";
    	L["RETURNED_7"] = "%s 从 %s |cffFFA020 将返回在 %d |4日:日;|r";
    	L["DELETED"]    = "%s 从 %s |cff20FF20 将删除在 %d |4日:日;|r";
    	L["RETURNED"]   = "%s 从 %s |cff20FF20 将返回在 %d |4日:日;|r";
    
    	L["TOTAL"]      = "总计讯息: %d";
    	L["TOTAL_MORE"] = "总计讯息: %d (%d)";
    	
    	L["Advanced"] = "进阶"
    	L["ADVANCED_MODE_DESC"] = "启用进阶模式。显示您信箱更多的讯息,并且能很好的挽回大笔的金钱。"
    	L["ADVANCED_MODE_CHANGED"] = function(enabled) return "|cff00ff96InboxMailbag: 进阶模式|r "..(enabled and "启用" or "关闭") end
    	
    	L["MAIL_DEFAULT"] = "预设为邮包"
    	L["MAIL_DEFAULT_DESC"] = "启用此选项会导致信箱最初打开的是邮包,而非一般 " .. INBOX
    	L["MAIL_DEFAULT_CHANGED"] = function(enabled) return "|cff00ff96InboxMailbag: 信箱预设为|r "..(enabled and "信箱邮包" or INBOX) end
    end
    

    Please join it in next version.(sorry english is pool)

  • Avatar of BNSSNB BNSSNB Feb 27, 2013 at 06:58 UTC - 0 likes

    Localization zhTW code:

    local L = LibStub("AceLocale-3.0"):NewLocale("InboxMailbag", "zhTW", false)
    
    if L then
    	L["BAGNAME"] = "郵包";
    	L["FRAMENAME"] = "信箱郵件包裹";
    	L["Group Stacks"] = "群組堆疊";
    
    	L["DELETED_1"]  = "%s 從 %s |cffFF2020 將刪除於 %s 後|r";
    	L["RETURNED_1"] = "%s 從 %s |cffFF2020 將返回於 %s 後|r";
    	L["DELETED_7"]  = "%s 從 %s |cffFF6020 將刪除於 %d |4日:日;|r";
    	L["RETURNED_7"] = "%s 從 %s |cffFFA020 將返回於 %d |4日:日;|r";
    	L["DELETED"]    = "%s 從 %s |cff20FF20 將刪除於 %d |4日:日;|r";
    	L["RETURNED"]   = "%s 從 %s |cff20FF20 將返回於 %d |4日:日;|r";
    
    	L["TOTAL"]      = "總計訊息: %d";
    	L["TOTAL_MORE"] = "總計訊息: %d (%d)";
    	
    	L["Advanced"] = "進階"
    	L["ADVANCED_MODE_DESC"] = "啟用進階模式。顯示您信箱更多的訊息,並且能很好的挽回大筆的金錢。"
    	L["ADVANCED_MODE_CHANGED"] = function(enabled) return "|cff00ff96InboxMailbag: 進階模式|r "..(enabled and "啟用" or "關閉") end
    	
    	L["MAIL_DEFAULT"] = "預設為郵包"
    	L["MAIL_DEFAULT_DESC"] = "啟用此選項會導致信箱最初打開的是郵包,而非一般 " .. INBOX
    	L["MAIL_DEFAULT_CHANGED"] = function(enabled) return "|cff00ff96InboxMailbag: 信箱預設為|r "..(enabled and "信箱郵包" or INBOX) end
    end
    

    Please join it in next version.(sorry english is pool)

  • Avatar of Partha Partha Dec 30, 2012 at 02:00 UTC - 0 likes

    I tried out your solution and I think it's gonna be better. You can leave them stacked, and when you need just one you can unstack and take the stack you want, it's still easy to find and really a little bit more powerful that way too.

  • Avatar of Brefin Brefin Dec 29, 2012 at 22:42 UTC - 0 likes

    @Partha: Go

    In some ways I didn't entirely mean to post the change yet. But getting out an addon that actually installed properly took a bit of precedent.

    I suppose your option works. But I keep having trouble spamming TakeInboxItem, even manually. So there's the chance that the item grabbing may fail.

    Though I admit I didn't even think of the case of the folks selling all those items as singletons. *laugh*

    Thank you for the feedback. I apologize for rambling.

  • Avatar of Partha Partha Dec 29, 2012 at 21:57 UTC - 0 likes

    I also keep a lot of items in my mail like foods, potions, ores, etc. When I need some more I just grab 1 stack and leave the rest there for when I need more. That's why I requested the option.

    What I did was modified the OnClick function to just take the last stack instead of cycling through them all. Then when I wanted to take them all I just spam clicked the stack, lol. But a checkbox to switch is a much more refined way of doing it.

    function InboxMailbagItem_OnClick(self, index)
      local link = self.item and self.item.links[#self.item.links]
    
      if link and link.mailID and link.attachment then
        GetInboxText(link.mailID)
        TakeInboxItem(link.mailID, link.attachment)
        PlaySound("igMainMenuOptionCheckBoxOn")
      end 
    end
    

    This way it keeps the items all stacked together for a nice clean look, but still allows you to take just 1 stack at a time. Of course it would need to be modified to check for the [take one stack / take all] option and then run this code or run your original code. But the way you did it on the most recent version also has it's benefits, I'll have to try it out, it may be better that way.

    Thanks again for this addon. I actually look forward to getting my mail now just so I can use this again, especially when somebody lists 168 stacks of 1 of some ore that I want to buy.

    Last edited Dec 29, 2012 by Partha

Table of contents

  1. 1 2.0 Features

Facts

Date created
Dec 25, 2012
Categories
Last update
Oct 15, 2014
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
Inbox Mailbag
Downloads
14,380
Recent files
  • R: v2.3.1 for 6.0.2 Oct 15, 2014
  • A: r51 for 6.0.2 Oct 15, 2014
  • R: v2.3 for 5.4.0 Sep 10, 2013
  • A: r49 for 5.4.0 Sep 10, 2013
  • R: v2.2 for 5.3.0 May 21, 2013

Authors

Relationships

Embedded library
Ace3
CallbackHandler-1.0
LibStub