parsing message with email module