Manual:$wgEnableUserEmail

Details Set to true to enable user-to-user email via Special:Emailuser This can potentially be abused, as it's hard to track. This setting can be used to check if SMTP is set up correctly on your wiki.

Requires EnableEmail Manual: to be true as well.