Rewriting SupportMail's sharding system