Working with e-mail orders and pagination