send_quarto_email_with_gmail
send_quarto_email_with_gmail(username, password, json_path, recipients)
Send an email using Gmail with content from a Quarto metadata JSON file.
Parameters
username : str
-
Gmail account username for sending the email
password : str
-
Gmail app password
json_path : str
-
Path to the Quarto-generated .output_metadata.json file
recipients : list[str]
-
List of email addresses to send the email to
Returns
: None
-
The function sends an email but doesn’t return a value
Examples
send_quarto_email_with_gmail("user@gmail.com",
"password123",
"path/to/output_metadata.json",
"recipient1@example.com", "recipient2@example.com"]
[ )