Best way to include attachments using EmailService [Craft Plugin]? I've got Email Service working correctly (http://buildwithcraft.com/docs/apis/emailservice) but what's the best way to include attachments when using this service? 

Here's what I've got so far:

    $email = new EmailModel();
    $email-&gt;subject = "Thanks!";
    $email-&gt;htmlBody = "&lt;h1&gt;Congratulations!&lt;/h1";
    $email-&gt;htmlBody .= "&lt;p&gt;Hello World&lt;/p&gt;";
    $email-&gt;fromEmail = "email@domain.com";


I see there is $email->addAttachment but I'm not sure what variables to include to make it pass through the service.

Anyone have any examples?
In craft/app/models/EmailModel.php the function docblock describes the params:

/**
 * Adds an attachment from a path on the filesystem. Returns false if the file could not be found or accessed.
 *
 * @param string $path Path to the attachment.
 * @param string $name Overrides the attachment name.
 * @param string $encoding File encoding (see $Encoding).
 * @param string $type File extension (MIME) type.
 * @throws phpmailerException
 * @return bool
 */
public function addAttachment($path, $name = '', $encoding = 'base64', $type = 'application/octet-stream')
{
    $existingAttachments = $this-&gt;attachments;
    $existingAttachments[] = array('path' =&gt; $path, 'name' =&gt; $name, 'encoding' =&gt; $encoding, 'type' =&gt; $type);
    $this-&gt;attachments = $existingAttachments;
}


Is that what you're looking for?