MailGen application is built on the ChatGPT API provided by OpenAI. Every user request sent to the API is processed and paid for based on the pricing plan chosen by the developer or organization.