The first set of
msdb objects we’ll review are those related to system objects such as profiles, profile security, and accounts:
sysmail_profile—Contains basic profile data, including the unique
last_mod_user name. You execute
sysmail_help_profile_sp to retrieve this data by
sysmail_principalprofile—Contains profile security settings, including the
profile_id, associated principal (or user) (
principal_SID), profile default ...