PHP Mail Demo This is a demo for sending an email by using Gmail API and PHPMailer. Next Plan I am planning to build more examples with other methods (SMTP or HTML) for sending an email.