Web-based Email - Gmail
To find all emails from jblow, enter
To find all emails containing attachments, enter
from:jblow has:attachment
Gmail help and information says it best:
While most companies have server-level backup and disaster recovery plans, they may not support account level recovery. So for example, if one of their data-centers burns down, everything can be safely restored to another data-center. But if the contents of your account are lost, there may be no way to get it back. This is generally true of Gmail*, although there are some cases where messages deleted as a result of a compromised (hacked) account may be able to be restored.
Because of this, it's critical that people provide their own backups of their e-mail accounts, and in fact all important information that is stored in "the cloud". There are various ways the information can be lost, the most common of which is a compromised (hacked) account, and the provider may not have a way to restore it.
Gmail Backup
http://www.macworld.com/product/collection/13550/mac-email-clients.html
Email clients on Mac OSX
This link
was written by Bethan England.
http://stackoverflow.com/questions/7537969/backup-restore-from-to-gmail
http://stackoverflow.com/questions/926694/download-emailsbackup-from-gmail-programatically
http://blog.rebex.net/news/archive/2007/05/14/howto-download-emails-from-gmail-account-in-csharp.aspx
http://lifehacker.com/235207/geek-to-live--back-up-gmail-with-fetchmail
Got Your Back (GYB) takes advantage of Gmail's ability to respond to IMAP protocol
requests (which ironically Microsoft invented).
This is great because it allows for restore of messages,
and preserves Gmail's useful labels tags.
But GYB is a command-line tool with no GUI.
First open a browser and log into Gmail.
Empty your Trash and Spam folders.
GYB does not check Spam or Trash even though these count against your Gmail quota (displayed at the bottom of your Gmail inbox).
On another browser window go to
github.com/jay0lee/got-your-back/releases.
If you're on a Windows machine, click the green button to
download gyb-0.??-windows-x64.zip.
Recent Windows machines are 64-bit now.
If you're on a Mac, click the white source code (zip) button
to download file got-your-back-0.29.zip.
You may see a different version number than 29.
On a Mac, double-click on the zip file to expand into a folder.
Go to the Mac Finder.
Open the Terminal application. The $ (dollar sign) is the command prompt.
Go to the folder containing gyp's files:
cd downloads/got-your-back-0.29
Get a list of files in the folder:
ls
Ensure the script has the necessary permissions:
sudo chmod 755 gyb.py
Get the full folder path to the file:
pwd
The response should be a path such as:
/Users/wilsonmar/downloads/got-your-back-0.29
Some like to move the folder to where other Python modules are.
Run setup.py to install the python package:
sudo python setup.py install
The response:
Traceback (most recent call last):
File "setup.py", line 2, in <module>
import py2exe, sys, os
ImportError: No module named py2exe
BLOCKING QUESTION:
Is the py2exe here refer to
the distutils extension to create standalone windows programs from python scripts.
(which is not applicable to Mac).
The counterpart to py2exe on the Mac is:
https://pythonhosted.org/py2app/install.html
obtained using pip install -U py2app
http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html
But that website is gone.
https://www.youtube.com/user/sentdex/about
HKinsley@live.com, harrison@sentdex.com
http://sentdex.com/
Linux folders
are located, such as
/opt/local/bin/
Double-click on the path to highlight it,
and press Command+C to copy the string to the Mac internal clipboard.
To save a few seconds, create an alias to the GYB Python file:
alias gyb="python gyb.py"
List the Mac's search path:
~/.profile echo $PATH
Mine shows:
/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Colons separate items.
To run your script from the Terminal window,
put this path in your Mac's shell search path, as described at
http://coolestguidesontheplanet.com/add-shell-path-osx/
NOTE: Python on OS X honors all standard Unix environment variables such as PYTHONPATH, but setting these variables for programs started from the Finder is non-standard as the Finder does not read your .profile or .cshrc at startup. For bash to do that,
Open or create a .bash_profile file using the built-in nano text editor:
nano .bash_profile
Paste a line such as this containing the folder where you want your Mac to notice:
export PATH=/Users/wilsonmar/downloads/got-your-back-0.29:$PATH
Save the file in nano by clicking ‘control’ +’o’.
Confirm the name of the file is .bash_profile by hitting return.
Click ‘control’+’x’ to exit nano.
Macs machines come with Python in the Applications folder,
so there is no need to
download the Python interpreter from Python.org.
To run without requiring an existing Python installation,
convert python scripts into executable Mac OS X applications
using bundlebuilder or
py2app
NOTE:
Macs have specific services. But you don't have to worry about them now.
The path to setup.py for GYB should be displayed.
List GYB commands:
python gyb.py
There's a long list.
This enables a command such as:
gyb --email your...@gmail.com --action estimate
instead of:
python gyb.py --email wilsonmar@gmail.com --action estimate
Of course you need to change my email address to yours.
To perform download, perform --action download:
gyb --email your...@gmail.com
In response to the command, GYB opens up a web page for you to grant GYB access to your Gmail account when it issues IMAP and SMTP requests. Supposedly, this does not grant GYB rights to any of your other Google Data.
Once you've granted access, switch back to the command prompt window and hit Enter key.
If no errors are printed, GYB should start estimating the size of your Gmail mailbox
All Mail folder.
This should be run automatically because it's a hassle.
Windows people can setup Microsoft Task Manager.
|