Add pagination to email and alert lists templates

Fixes #1319