The following task sends an email to a single email address:
dbcloudcmd run SendDistributionEmail firstname.lastname@example.org subject="Test subject" body="This is the body of the email"
The following task sends an email with an HTML body and an attachment to multiple email addresses:
dbcloudcmd run SendDistributionEmail to_address="email@example.com;firstname.lastname@example.org" subject="More complex example" body="
<h1>The heading of the email body</h1>
<p>A paragraph within the email body.</p>" attachment_file="c:\myfile.txt" content_type="text/html"