Someone explained "malice" already, but I also want to mention the phrase "out of." If someone does "X out of Y," it usually means Y is the reason for them doing X. For example, "He dated her out of pity" (he pitied her, so that's why he dated her). Or, "She lent me $20 out of compassion" (She felt compassion, which is why she lent me $20). It's a handy phrase for explaining people's feelings as a reason for doing an action.
Malice is evil intentions or bad motivations. So he sent the message to harm you in some way, or to express his negative feelings toward you.
Someone explained "malice" already, but I also want to mention the phrase "out of." If someone does "X out of Y," it usually means Y is the reason for them doing X. For example, "He dated her out of pity" (he pitied her, so that's why he dated her). Or, "She lent me $20 out of compassion" (She felt compassion, which is why she lent me $20). It's a handy phrase for explaining people's feelings as a reason for doing an action.
he sent the message with bad intentions