Moved email pulling stuff into sidebar