What is the equivalent of CreateObject("Outlook.Application") in eM Client ?

This might be a really dumb question, but why would you need a script to attach a .pdf file?  There’s a little icon on the menu where you can use that to attach a file.  I just did that today.  Maybe there’s something I’m not seeing?  Or, you can just drag and drop the .pdf  onto the mail.