Simplegmail Versions Save

A simple Gmail API client for applications in Python

v4.1.1

1 year ago

Release v4.1.1

New or Improved Features

  • Close service explicitly in multithreaded download to avoid too many open sockets without garbage collection

v4.1.0

1 year ago

Release 4.1.0

New or Improved Features

  • Add noauth_local_webserver flag to Gmail constructor
  • Add access_type to Gmail constructor (though I believe Google returns refresh tokens regardless of whether offline or online is specified)
  • Add create_label and delete_label functionality
  • Add cc and bcc fields to Message
  • Add the following query options: list, in, delivered_to, category, larger, smaller, id, has.

Bugfixes and Other Changes

  • Fixed bug where attachment overwrite flag is used in the opposite way it was intended.

v4.0.4

2 years ago

Bug fixes

  • Refresh auth token upon expiry. If the token has expired during the program's run, it is now refreshed when the access to the service is attempted.

v4.0.3

2 years ago

Release 4.0.3

Bug Fixes and Other Changes

  • Made check for email headers case insensitive

v4.0.2

3 years ago

Release 4.0.2

Bug Fixes and Other Changes

  • Fixed error when using sender="John Doe <[email protected]>" style sender addresses with signature=True.

v4.0.1

3 years ago

Release 4.0.1

New or Improved Features

  • Message headers are now exposed as Message.headers, a dict from header name to value.

v4.0.0

3 years ago

Release 4.0.0

New or Improved Features

  • The behavior of exclude_KEYWORD parameters in construct_query has been changed to allow exclude_KEYWORD to accept the values to exclude rather than negating the values assigned to KEYWORD. This is not compatible with prior versions. For example to exclude a label went from

    construct_query(labels='finance', exclude_labels=True)
    

    to

    construct_query(exclude_labels='finance')
    

    which allows users to more easily combine positive and negative search terms. This is a big quality of life improvement for creating complex queries.

v3.1.6

3 years ago

Release 3.1.6

Bug Fixes and Other Changes

  • Used previously unused include_spam_trash parameter. Previously this value was ignored and spam and trash would not be included in searches other than get_spam_messages and get_trash_messages, or if the label was included explicitly.

v3.1.5

3 years ago

Release 3.1.5

Bug Fixes and Other Changes

  • Fixed reverted changes including removal of creds_file parameter

v3.1.4

3 years ago

Release 3.1.4

Bug Fixes and Other Changes

  • Fixed key error for emails missing certain parts
  • Fixed divide by zero error when a query results in zero messages