Part of lp.services.mail.mailbox View In Hierarchy
|Method||open||Opens the mail box.|
|Method||items||Returns all the ids and mails in the mail box.|
|Method||delete||Deletes the mail with the given id.|
|Method||close||Closes the mailbox.|
Raises MailBoxError if the mail box can't be opened.
This method has to be called before any operations on the mail box is performed.
Returns an iterable of (id, mail) tuples.
Raises MailBoxError if there's some error while returning the mails.
Raises MailBoxError if the mail couldn't be deleted.