for (Signature s : mSignatures) { s.toElement(identity); }
    public Element toElement(Element parent) {        Element identity = parent.addElement(AccountService.E_IDENTITY);        identity.addAttribute(MailService.A_NAME, mName);        for (Map.Entry<String,String> entry : mAttrs.entrySet()) {            Element a = identity.addElement(MailService.E_ATTRIBUTE);            a.addAttribute(MailService.A_ATTRIBUTE_NAME, entry.getKey());            a.setText(entry.getValue());        }        for (Signature s : mSignatures) {            s.toElement(identity);        }        return identity;    }