finished prototype of email links - only accesses last 25 messages though