Add a cache of last 40 msg ids for each mail account