Implementing filtering block messages according to profile viewer

If user is visualizing a profile page, it get the profile email address
and filter the block messages according to this e-mail address.