extract and persist email payload