Added e-mail summary feature, ready for testing