Download
(22 Kb)
Download
Updated: 01/18/24 07:21 PM
Pictures
File Info
Compatibility:
Endless Archive (9.2.5)
base-game patch (9.1.5)
Necrom (9.0.0)
Scribes of Fate (8.3.5)
Firesong (8.2.5)
Updated:01/18/24 07:21 PM
Created:02/02/23 07:05 AM
Monthly downloads:163
Total downloads:3,710
Favorites:7
MD5:
Mail History
Version: 13
by: PacificOshie [More]
MailHistory by @PacificOshie. Have fun!

Mail History saves a copy of your mail when sending, taking, returning, and deleting mail to provide a history of your mail activity.

Mail History data is stored account-wide across all characters. Mail that was sent, taken, returned, or deleted on one character may be viewed on another character.

Mail is only shown in the history when it is no longer in your mailbox.

Reply to mail and Forward mail (without attachments) from the history.

DEPENDENCIES
- LibAddonMenu-2.0
- LibAsync
- LibCustomMenu

++

MAIL HISTORY SETTINGS
- Automatically show and hide the history when viewing your mailbox.
- Included or exclude System mail from displaying in the history.

CHAT SETTINGS
- Log a mail summary in the chat window when sending, taking, returning, and deleting mail.

STORAGE SETTINGS
- Save or delete System mail.
- Increase or decrease the number of saved mail. The number of saved mail affects memory usage, disk space, and performance.

DATE AND TIME SETTINGS
- Select the preferred date and time display format.

++

COPY AND PASTE
- The popup displays mail to allow selecting the text to copy and paste. Click to put the cursor into the text, then select all using CTRL+A and copy using CTRL+C.

MISSING MAIL INFO
- Some other addons process mail before Mail History can save the mail. If an entire mail is missing, you may see the message "Missed mail due to other addons." And if attachment info is missing, you may see the message "Unknown attachment."
- Some old addons replaced the ESOUI mail functions so Mail History is not notified of mail. Please ensure you're using addons that have been updated recently.

NOT CERTIFIED MAIL
- Mail is saved in an unencrypted file which may be modified on the file system. The existence of data does not guarantee or certify its authenticity. The data is intended to be used as a personal copy of your mail and it’s not to be used as proof of sending or receiving mail.

PERSISTING DATA
- The ESOUI system is designed to hold data in memory and only persists the data to disk when a user reloads the ui, logs off, or exits the game. If the game or machine crashes before reloading the ui, logging off, or existing the game, then any new mail will be lost. The easiest way to force persisting the data to disk is to execute the command: /reloadui
2024-01-18 v13 - No code changes. Only updated the api version.

2023-08-21 v12 - Added a NEW DEPENDENCY on LibCustomMenu for the context menu of the mail history list. Also updated the api version.

2023-06-13 v11 - No code changes. Updated version to include Scribes of Fate 101037 and Necrom 101038.

2023-02-24 v10 - Fixed a bug when unintentionally deleting Player mail when intending to only delete System mail.

2023-02-18 v9 - Added the ability to Reply and Forward mail from the history using the right-click context menu or from the mail popup window.

2023-02-12 v8 - Added a keybinding to toggle the history window. Added options for the date and time format. Simplified options for showing System mail which includes hirelings, trader, pvp, etc. Added a new option to stop saving System mail altogether (besides just hiding it). Updated RU Russian translations by Verling! Updated to API version 101037 for ESO 8.3 Scribes of Fate.

2023-02-09 v7 - PLEASE BACKUP YOUR SAVED VARIABLES! Fixed an issue with updating data across versions. Support for hiding the guild trader mail in DE, EN, FR, JP, and RU. Updated DE German translations by Baertram! Updated RU Russian translations by Verling!

2023-02-06 v6 - Added DE German translations by Baertram! Added RU Russian translations by Verling! Duplicate sent mail (e.g., guild newsletter) is kept as a single mail with multiple recipients. Added a status message for how many mail are being shown. Added a progress bar when using the search filter. Added a tooltip option to display some mail details from the history when mouse over.

2023-02-03 v5 - Fixed the error when clicking on the window title. Moved saved data to be server region specific, but settings are server region agnostic. Updated the date and time to use the system locale. Display the character in the history who was sending, taking, returning, or deleting the mail. Support for hiding the hireling mail in DE, EN, FR, JP, and RU. Added language support for display strings but still need translations. Save mail that was taken, returned, or deleted in gamepad mode. Works with Lazy Writ Crafter auto-loot hireling mail.

2023-02-02 v4 - Indicate which character on your account was sending, taking, returning, or deleting the mail. Show and hide the mail history using mailbox events to support gamepad mode. Added another event handler to attempt saving mail before other addons remove them.

2023-02-02 v3 - Refresh data every time the history is shown so any updated settings are applied. Handle unknown attachments when mail data is missing due to other addons.

2023-01-30 v2 - Added an option to save more mail; and added an option to hide hireling mail. Added a search filter to the history to allow finding mail with specific text. Added a popup window that shows more details when clicking on mail from the history; and allows selecting CTRL+A and copying CTRL+C the mail text.

2023-01-25 v1 - Preview release.
Optional Files (0)


Archived Files (10)
File Name
Version
Size
Uploader
Date
12
22kB
PacificOshie
08/21/23 03:04 PM
11
22kB
PacificOshie
06/13/23 04:44 PM
10
22kB
PacificOshie
02/24/23 06:38 PM
9
22kB
PacificOshie
02/18/23 07:39 AM
8
21kB
PacificOshie
02/12/23 12:49 PM
7
20kB
PacificOshie
02/09/23 04:46 PM
6
20kB
PacificOshie
02/06/23 07:45 PM
5
14kB
PacificOshie
02/03/23 04:42 PM
4
11kB
PacificOshie
02/02/23 04:03 PM
3
10kB
02/02/23 07:05 AM


Post A Reply Comment Options
Unread 08/21/23, 03:08 PM  
PacificOshie
 
PacificOshie's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 20
Uploads: 2
Hiya Baertram, thanks for the suggestions! These are in v12. Have fun!

Originally Posted by Baertram
Just as an info: It makes no sense to include old ApI versions in the txt manifest file
Better include the next version 101039 pro-actively if you do not expect any errors to happen. But old API versions will NEVER be on live or PTS anymore, so this is nonsense adding them aferwards as current API version is 101038 already.

Another info:
If you add context menus please use the library LibContextMenu to prevent addon errors.
If you just use AddMenuItem we often had it happen in the past that it bugged out vanilla game code
That's why LibCustomMenu was created.

Just add this to your DependsOn in txt file and then exchange AddMenuItem with AddCustomMenuItem in your code, and all should work as before but with better compatibility.
You then can even add "submenus" at the context menu, headers and if the name string of the entry is just "-" and the callback function function() end -> divider line.
Report comment to moderator  
Reply With Quote
Unread 06/14/23, 04:56 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4966
File comments: 6033
Uploads: 78
Scribes of Fate 101037
Just as an info: It makes no sense to include old ApI versions in the txt manifest file
Better include the next version 101039 pro-actively if you do not expect any errors to happen. But old API versions will NEVER be on live or PTS anymore, so this is nonsense adding them aferwards as current API version is 101038 already.

Another info:
If you add context menus please use the library LibContextMenu to prevent addon errors.
If you just use AddMenuItem we often had it happen in the past that it bugged out vanilla game code
That's why LibCustomMenu was created.

Just add this to your DependsOn in txt file and then exchange AddMenuItem with AddCustomMenuItem in your code, and all should work as before but with better compatibility.
You then can even add "submenus" at the context menu, headers and if the name string of the entry is just "-" and the callback function function() end -> divider line.
Last edited by Baertram : 06/14/23 at 04:59 AM.
Report comment to moderator  
Reply With Quote
Unread 02/14/23, 12:00 AM  
Verling
 
Verling's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 57
Uploads: 7
Originally Posted by PacificOshie
Thanks for the suggestions!

(1.) Yeah, it's difficult to read the listing when the fields don't line up. I'm looking into columns, but it seems complicated at first glance. Let me think about this one for a while.

(2.) Regarding the date format, I originally had YYYY-MM-DD because that is my personal preference, however, I've change the date format to use the system locale format so dates are shown in a more global friendly manner. I am unable to override the locale in the addon. I'll consider adding alternative date and time settings when the default locale format is undesired.

(3.) You're right, if I'm only saving Player mail (without system mail) then having 10 may be sufficient for many people. My original goal was to keep all mail (even the hidden mail) so you can always find mail when needed. However, I see that many people don't value System mail as much as Player mail, so I'm considering to change the options to avoid saving System mail, and only save Player mail. I think this is what you're suggesting. Let me know if I've misunderstood.

I'm continuing to make enhancements while this addon is quite new, so ideas are fresh too. Thanks!

++

Originally Posted by Verling
1. Is it fundamental to make the name of the character picking up the mail first? If the names are different in length, then a very uneven row. Purely my opinion, this column should be in the last row.

2. If you do 1. then let's look further at the date and time format. there it is written, for example, 9.02.2023. Is there an option to include it like this : 09.02.2023 ?
Then the columns will be smoother. And it will be more convenient to watch.

3. The minimum number of saved emails is 100. I would reduce that to 10. First of all, clean hidden emails. This way only important emails will remain.
In the future, it may also add the ability to set a checkbox to prohibit the deletion of a letter.
Thanks for the update !

2. Thank you. This is what you need !

3. It is very important to understand how to do it better. For all the time I received about 700 letters.
That's a lot. You can turn off receiving system messages. But not all systems are necessary and important for all players.
For example, like Bertram, I prefer to see only certain important system emails and personal correspondence.
A friend of mine saves all the letters of mercenaries.
I suggest:
a) Make it possible to delete hidden emails from the list. I pressed the button - the database was cleared.

b) Divide hiding from the merchant, mercenaries and pvp rewards by separate settings items.
So that players can choose what they want to hide.
Report comment to moderator  
Reply With Quote
Unread 02/12/23, 09:45 AM  
PacificOshie
 
PacificOshie's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 20
Uploads: 2
Hiya Baertram! Thanks for the suggestions!

It seems like anyone who wants to hide the hireling, trader, pvp, etc, they should probably just hide all System mail. I'll simplify the options for hiding System mail. In addition, I'll add an option to stop saving System mail too. Thanks!

++

Originally Posted by Baertram
Hi there,

would it be possible to filter system mails so that the saved stuff won't blowup too much because of them?
Same like the hireling and guild trader mails, maybe there is a way to detect the AvA and dungeon reward mails or any other system generated ones (without having to compare names of senders)?

I'd love to have all of them not saved and only player created mails saved (or maybe these are detectable by a @displayName as sender or similar?)

Thank you.
Report comment to moderator  
Reply With Quote
Unread 02/12/23, 09:22 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4966
File comments: 6033
Uploads: 78
Hi there,

would it be possible to filter system mails so that the saved stuff won't blowup too much because of them?
Same like the hireling and guild trader mails, maybe there is a way to detect the AvA and dungeon reward mails or any other system generated ones (without having to compare names of senders)?

I'd love to have all of them not saved and only player created mails saved (or maybe these are detectable by a @displayName as sender or similar?)

Thank you.
Report comment to moderator  
Reply With Quote
Unread 02/12/23, 08:01 AM  
PacificOshie
 
PacificOshie's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 20
Uploads: 2
Re: Re: Re: MailR

Thanks MegwynW! I believe that Reply is now a built-in capability in ESO without any addons. However, forwarding mail may require an addon.

As a future enhancement for Mail History, I could add buttons to allow replying and forwarding any of the saved mail in Mail History. I'll add this to my list. Maybe it will help.

Thanks for sharing your scenario with me!

++

Originally Posted by MegwynW
Originally Posted by PacificOshie
Does MailR provide some key capability for you? I'm wondering if there are alternative addons that could be used.
The message reply and forward functionality that MailR implements is something I use frequently and I'm not aware of other addons that replicate it.
Report comment to moderator  
Reply With Quote
Unread 02/11/23, 03:23 PM  
MegwynW

Forum posts: 0
File comments: 20
Uploads: 0
Re: Re: MailR

Originally Posted by PacificOshie
Does MailR provide some key capability for you? I'm wondering if there are alternative addons that could be used.
The message reply and forward functionality that MailR implements is something I use frequently and I'm not aware of other addons that replicate it.
Report comment to moderator  
Reply With Quote
Unread 02/11/23, 09:49 AM  
PacificOshie
 
PacificOshie's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 20
Uploads: 2
Re: MailR

Hiya MegwynW! When I started creating Mail History, I noticed that I wasn't getting the expected mail notifications and callbacks from the esoui core mail system. Upon investigating MailR, I found that it overrides the esoui core mail system with its own implementation. I have uninstalled MailR and added a warning for users of Mail History because if Mail History doesn't get the expected mail notifications and callbacks from the esoui core mail system, then it can't save a copy of the mail.

Does MailR provide some key capability for you? I'm wondering if there are alternative addons that could be used.

++

Originally Posted by MegwynW
What exactly is the incompatibility with MailR? There is no mention of it on the addon page. Thanks.
Report comment to moderator  
Reply With Quote
Unread 02/10/23, 10:41 PM  
MegwynW

Forum posts: 0
File comments: 20
Uploads: 0
MailR

What exactly is the incompatibility with MailR? There is no mention of it on the addon page. Thanks.
Report comment to moderator  
Reply With Quote
Unread 02/10/23, 07:50 PM  
PacificOshie
 
PacificOshie's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 20
Uploads: 2
Thanks for the suggestions!

(1.) Yeah, it's difficult to read the listing when the fields don't line up. I'm looking into columns, but it seems complicated at first glance. Let me think about this one for a while.

(2.) Regarding the date format, I originally had YYYY-MM-DD because that is my personal preference, however, I've change the date format to use the system locale format so dates are shown in a more global friendly manner. I am unable to override the locale in the addon. I'll consider adding alternative date and time settings when the default locale format is undesired.

(3.) You're right, if I'm only saving Player mail (without system mail) then having 10 may be sufficient for many people. My original goal was to keep all mail (even the hidden mail) so you can always find mail when needed. However, I see that many people don't value System mail as much as Player mail, so I'm considering to change the options to avoid saving System mail, and only save Player mail. I think this is what you're suggesting. Let me know if I've misunderstood.

I'm continuing to make enhancements while this addon is quite new, so ideas are fresh too. Thanks!

++

Originally Posted by Verling
1. Is it fundamental to make the name of the character picking up the mail first? If the names are different in length, then a very uneven row. Purely my opinion, this column should be in the last row.

2. If you do 1. then let's look further at the date and time format. there it is written, for example, 9.02.2023. Is there an option to include it like this : 09.02.2023 ?
Then the columns will be smoother. And it will be more convenient to watch.

3. The minimum number of saved emails is 100. I would reduce that to 10. First of all, clean hidden emails. This way only important emails will remain.
In the future, it may also add the ability to set a checkbox to prohibit the deletion of a letter.
Report comment to moderator  
Reply With Quote
Unread 02/10/23, 01:04 PM  
DohNotAgain

Forum posts: 1
File comments: 110
Uploads: 0
Originally Posted by Verling
1. Is it fundamental to make the name of the character picking up the mail first? If the names are different in length, then a very uneven row. Purely my opinion, this column should be in the last row.

2. If you do 1. then let's look further at the date and time format. there it is written, for example, 9.02.2023. Is there an option to include it like this : 09.02.2023 ?
Then the columns will be smoother. And it will be more convenient to watch.

3. The minimum number of saved emails is 100. I would reduce that to 10. First of all, clean hidden emails. This way only important emails will remain.
In the future, it may also add the ability to set a checkbox to prohibit the deletion of a letter.
I don't know much about LUA programming, but if it has formatted output capabilities then your points 1 and 2 could probably be easily fixed without rearranging the orders. For me, personally, I'd rather not have the name at the end.

I like that checkbox idea.
Report comment to moderator  
Reply With Quote
Unread 02/10/23, 12:54 PM  
DohNotAgain

Forum posts: 1
File comments: 110
Uploads: 0
Originally Posted by PacificOshie
Hiya DohNotAgain! Ah, thanks! I see what you mean now. Yes, I will implement a keybinding to toggle the history window in an upcoming release. Thanks for the suggestion!
Thank YOU for this.
Very much appreciated!
Report comment to moderator  
Reply With Quote
Unread 02/09/23, 09:10 PM  
Verling
 
Verling's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 57
Uploads: 7
1. Is it fundamental to make the name of the character picking up the mail first? If the names are different in length, then a very uneven row. Purely my opinion, this column should be in the last column.

2. If you do 1. then let's look further at the date and time format. there it is written, for example, 9.02.2023. Is there an option to include it like this : 09.02.2023 ?
Then the columns will be smoother. And it will be more convenient to watch.

3. The minimum number of saved emails is 100. I would reduce that to 10. First of all, clean hidden emails. This way only important emails will remain.
In the future, it may also add the ability to set a checkbox to prohibit the deletion of a letter.
Last edited by Verling : 02/13/23 at 11:30 PM.
Report comment to moderator  
Reply With Quote
Unread 02/09/23, 08:44 PM  
PacificOshie
 
PacificOshie's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 20
Uploads: 2
Hiya DohNotAgain! Ah, thanks! I see what you mean now. Yes, I will implement a keybinding to toggle the history window in an upcoming release. Thanks for the suggestion!

++

Originally Posted by DohNotAgain
Originally Posted by PacificOshie
Originally Posted by DohNotAgain
Could you add a hotkey option to toggle the window on and off please?
I only want to see it when I want to look at something.

Of course, I could simply be overlooking that option....

I am happy to see this addon.
Hiya, would this work for you?...
- Mail History has a setting to automatically show the history with the mailbox, so you can turn that OFF.
- In addition, you can manually show the history with the /mailhistory command.

Let me know if there is some other capability you're thinking about. Thanks!
Yup, already turned off the automatic option.
I was so happy when I saw that in settings!

I'd rather have a hotkey than have to type out /mailhistory when I want to look at it.
This may sound dumb, but for me it is not.
Years ago I got a brain injury from meningitis.
Remembering to type /mailhistory to open Mailhistory, as stupid as it sounds, is not a guarantee.
That's my normal now and I have to live in it.
I am much more likely to remember alt-m (2 keys) than /mailhistory (12 keys).

If there was an in game way to map the text /mailhistory to a hot key I would do that.
Maybe there's a different addon that does that?
If I could do that both of our problems would be solved: I'd have a hotkey and you wouldn't need to program one in.
Report comment to moderator  
Reply With Quote
Unread 02/09/23, 06:00 PM  
DohNotAgain

Forum posts: 1
File comments: 110
Uploads: 0
Originally Posted by PacificOshie
Originally Posted by DohNotAgain
Could you add a hotkey option to toggle the window on and off please?
I only want to see it when I want to look at something.

Of course, I could simply be overlooking that option....

I am happy to see this addon.
Hiya, would this work for you?...
- Mail History has a setting to automatically show the history with the mailbox, so you can turn that OFF.
- In addition, you can manually show the history with the /mailhistory command.

Let me know if there is some other capability you're thinking about. Thanks!
Yup, already turned off the automatic option.
I was so happy when I saw that in settings!

I'd rather have a hotkey than have to type out /mailhistory when I want to look at it.
This may sound dumb, but for me it is not.
Years ago I got a brain injury from meningitis.
Remembering to type /mailhistory to open Mailhistory, as stupid as it sounds, is not a guarantee.
That's my normal now and I have to live in it.
I am much more likely to remember alt-m (2 keys) than /mailhistory (12 keys).

If there was an in game way to map the text /mailhistory to a hot key I would do that.
Maybe there's a different addon that does that?
If I could do that both of our problems would be solved: I'd have a hotkey and you wouldn't need to program one in.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: