now decoding the emails