Core Functions of a Messaging Security Agent