Api google send mail rtf format

You want to send an email in RTF (Rich Text Format) using the Google Apps Script API.

Here's an example of how you can do it:

Step 1: Create a Google Apps Script project

Step 2: Set up the API

Step 3: Write the script

Step 4: Run the script

Note: Make sure to replace the client variable with the actual OAuth token obtained from the Google Cloud Console.

Also, keep in mind that the RTF format is not supported by all email clients, so you may want to consider using a different format (e.g., HTML) if you need to ensure compatibility.