Create eha.py

Instead of copy pasting the header stuffs, access your Gmail account using this.

And try Changing the indexes according to your own needs.