Individual members have the freedom to choose whether to activate or deactivate the contact form on their profiles. This functionality allows members to independently tailor their communication preferences, offering a personalized experience and giving them control over the extent of interaction they desire with site visitors.
To enable this logged in users can visit Their BuddyPress Profile> Settings > and enable the checkbox called Enable/Disable Contact me tab.