Process multipart/alternative emails.
Delete emails processed before.
Store email sent dates.
Sort selects for one table.