Decode Base64 Email with Apps Script

You can decode base64 encoded email messages in Gmail, or files in your Google Drive, using the base64Decode() method of Google Apps Script.