ZMail - Sending you spam since 2013

Do you need to use conditions at all with this? I'm having a little trouble trying to figure out the script call to get new mail to show up too. What exactly does 'key' refer to? An example call of how to send the player a piece of mail with no attachment would be really useful. </dumb>
I'm sorry for the confusion, I understand I documented this pretty badly. I am rewriting it at the moment, and intend to make the script much more usable and work better. This was one of the first scripts I made, so there should be a great improvement once this is redone.

Better explanation of how it works:

Key

The key that you use when creating mail is how you access the mail later. You are able to change a piece of mail's conditions, its attachments, the message itself, and the sender after you initially create it. The key must be unique across every piece of mail, as this is also used to set each piece apart from another. The key can contain any sort of character. The key must be a string, however, which simply means you must put it between quotes. For example, "this works 124wqwe12", "4s d03s th!s" "Map001_Ev007_Mail3". anything may be used as long as it is unique to that piece of mail. 

Conditions

Conditions are not required, however, if no condition is given, it will be set to unreadable. If you don't want to use any kind of condition, just use "true". This will make the message immediately available for the player to read.

If you would like to use a condition, they work the same as the conditional branch's script option. A piece of mail may have more than one condition, and all conditions must evaluate to true for the mail to be readable. Because conditions are just small Ruby statements, a basic understand of Ruby is recommended for working with conditions.

Attachments

Attachments by default are empty. If you want to attach an item to a piece of mail, you have to pass in a string in the following format:

"item_id|count". 

item_id is the number next to the item in the database. You can have leading zeros if you wish, but they are not required. The pipe characters ( | ) separates the item id with how many of the item the player will receive. The count can be any number, even negative. Negative numbers will attempt to take the item away from the player.
Alrighty, so that fixed some issues but I've ran into another - do I need to keep the attachment part empty so that the mail doesn't have any? If so, 'Retrieve attachment' or whatever it is still comes up in the menu, and selecting it crashes the game.

Thanks for the speedy help though :3
What are you putting in for the attachment, and can I see a screenshot of the error?
Don't know if you're going to read this but I have a problem where I can't get out of the mail menu when reading a piece of mail. and it says annoynmous when reading it. Is there a way to fix it?
and after all this, I still have no idea how to use this. I need a demo. :'(
Geez people still look at this? Zmail was the first script I wrote and released publicly, and I can assure you it's written pretty badly haha. I originally had plans to rewrite it but that never happened, and now that MV is released, I'm really not sure if I'll ever redo this. Are you really interested in it? 
Yes, massively. However, if you don't wish to do anything with it. That is fine.

Original thread: https://forums.rpgmakerweb.com/threads/zmail-sending-you-spam-since-2013.11984/