The Mail Hijack module allows to change the recipient of an email sent through the Drupal mail system or prevents it from being sent, based on configurable rules.
This module is developed for giving permission to view private files which is attached to any unpublished version of node. Permission can be given to any or all user role groups.