The present project was developed with the main objective of developing an API tool that automates the generation of source code necessary to connect with mail servers and the programming of main e-mail events and interfaces, all this from the mobile and in the Web. To achieve this goal, a system was set up, designed and developed in a web environment which has the information request modules of protocols and location to make the connection to the mail server hMailServer, request information of necessary data for each event and interface.