added multiple recipient detection, MD5 hashing