Patent ID: 8244776

Claim:
A method for customizing a mail history, comprising: generating, using a computer device, a mail tree composed of all received mails belonging to a same topic; receiving, using the computer device, a user input indicating a mail to be replied to and a mail to be referred to which are selected by the user, the mail to be replied to and the mail to be referred to being located on different branches of the mail tree; acquiring, using the computer device, a first plurality of mails on a first path from a root mail of the mail tree to a child mail of the mail to be replied to, and a second plurality of mails on a second path from the root mail to a child mail of the mail to be referred to, locating the mail to be replied to and the mail to be referred to in the mail tree, traversing a part of the first path between the mail to be replied to and the root mail, so as to acquire all mails between the mail to be replied to and the root mail as the first plurality of mails, traversing a part of the second path between the mail to be referred to and the root mail, so as to acquire all mails between the mail to be referred to and the root mail as a third plurality of mails, comparing the first plurality of mails and the third plurality of mails to find identical mails therein, deleting the identical mails from the third plurality of mails to obtain the second plurality of mails; and merging, using the computer device, the first plurality of mails and the second plurality of mails to generate a merging result as the mail history.