fixed email bug; added timestamps