A computer-implemented method for retrieving data from a database system, the method being implemented by a computer system comprising the database system, a keyword extraction component, and an E-Mail application (142, 160, 150) for sending and receiving of E-Mails, wherein the database system stores contents of E-Mails processed by said E-Mail application and their lists of keywords extracted by the keyword extraction component, wherein each of the E-Mails, which content is stored in the database system, has a respective E-Mail identification and is assigned to the respective content and the respective list of keywords, the method comprising: processing by the E-Mail application an E-Mail being either received or sent by the E-Mail application, the E-Mail comprising a template and a content embedded in the template; transmitting by the E-Mail application the content to the database system; storing in the database system the transmitted content assigned to said E-Mail; extracting by the keyword extraction component from the stored content a list of keywords; storing in the database system the list of keywords assigned to said E-Mail; receiving via a user interface (146, 161, 151) of the E-Mail application a signal indicating that a user has selected one of the E-Mails being received or sent by the E-Mail application; sending by the E-Mail application to the database system a request for retrieving data related to the selected E-Mail; retrieving from the database system the list of keywords assigned to the selected E-Mail; selecting a set of keywords each being comprised in the retrieved list of keywords; retrieving from the database system the data (220, 230, 240, 250) related to the set of the keywords wherein the retrieving from the database system of the data related to the set of the keywords comprises: - identifying in the database system lists of keywords, wherein each of the identified lists of keywords comprises one or more keywords of the set of keywords; and - identifying in the database system, for each of the identified lists of keywords, an E-Mail to which the each of the identified lists of keywords is assigned,wherein the retrieved data comprises E-Mail identifications of the identified E-Mails; and sending by the database system to the E-Mail application the retrieved data. processing by the E-Mail application an E-Mail being either received or sent by the E-Mail application, the E-Mail comprising a template and a content embedded in the template; transmitting by the E-Mail application the content to the database system; storing in the database system the transmitted content assigned to said E-Mail; extracting by the keyword extraction component from the stored content a list of keywords; storing in the database system the list of keywords assigned to said E-Mail; receiving via a user interface (146, 161, 151) of the E-Mail application a signal indicating that a user has selected one of the E-Mails being received or sent by the E-Mail application; sending by the E-Mail application to the database system a request for retrieving data related to the selected E-Mail; retrieving from the database system the list of keywords assigned to the selected E-Mail; selecting a set of keywords each being comprised in the retrieved list of keywords; retrieving from the database system the data (220, 230, 240, 250) related to the set of the keywords wherein the retrieving from the database system of the data related to the set of the keywords comprises: - identifying in the database system lists of keywords, wherein each of the identified lists of keywords comprises one or more keywords of the set of keywords; and - identifying in the database system, for each of the identified lists of keywords, an E-Mail to which the each of the identified lists of keywords is assigned,wherein the retrieved data comprises E-Mail identifications of the identified E-Mails; and - identifying in the database system lists of keywords, wherein each of the identified lists of keywords comprises one or more keywords of the set of keywords; and - identifying in the database system, for each of the identified lists of keywords, an E-Mail to which the each of the identified lists of keywords is assigned,wherein the retrieved data comprises E-Mail identifications of the identified E-Mails; and sending by the database system to the E-Mail application the retrieved data.