parse emails