fix prefixtree
fetch and store emails