Added new subject and body text while sending e-mail. Implemented for resources.