Releases: jeremyephron/simplegmail
Releases · jeremyephron/simplegmail
v4.1.1
v4.1.0
Release 4.1.0
New or Improved Features
- Add
noauth_local_webserver
flag toGmail
constructor - Add
access_type
toGmail
constructor (though I believe Google returns refresh tokens regardless of whether offline or online is specified) - Add
create_label
anddelete_label
functionality - Add
cc
andbcc
fields toMessage
- 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
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
Release 4.0.3
Bug Fixes and Other Changes
- Made check for email headers case insensitive
v4.0.2
Release 4.0.2
Bug Fixes and Other Changes
- Fixed error when using
sender="John Doe <[email protected]>"
style sender addresses withsignature=True
.
v4.0.1
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
Release 4.0.0
New or Improved Features
-
The behavior of
exclude_KEYWORD
parameters inconstruct_query
has been changed to allowexclude_KEYWORD
to accept the values to exclude rather than negating the values assigned toKEYWORD
. This is not compatible with prior versions. For example to exclude a label went fromconstruct_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
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 thanget_spam_messages
andget_trash_messages
, or if the label was included explicitly.
v3.1.5
Release 3.1.5
Bug Fixes and Other Changes
- Fixed reverted changes including removal of
creds_file
parameter
v3.1.4
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