My first rule—before doing anything else—when writing a sentence, is to check whether I could have removed the em dashes by re-ordering the elements.
Update: in case it’s not obvious, I am sorry. I could not help it.