a general but advanced example in order to explain the method of handling email whit python.