this doesn't take into account if there is just an attachment element (thus `dom.message.firstChild.nextSibling` would be `!false`)