SharePoint Email Enabled Document Library Workflow Problems

So apparently when you have an email enabled document library in SharePoint 2010 and want a custom workflow to run on item creation, that no worky. It works fine when you manually upload the document but fails to run when a document is emailed to the library. Apparently this was a bug in 2007 and there is a hotfix for it. After some googling, I found for 2010, you just need to run this stsadm command to enable workflows to run on initiation for email enabled libraries:

stsadm -o setproperty -pn declarativeworkflowautostartonemailenabled -pv true