The following task sends an email to a single email address:
dbcloudcmd run SendDistributionEmail email@example.com 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="firstname.lastname@example.org;email@example.com" 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"