We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44fc225 commit 8cc8488Copy full SHA for 8cc8488
1 file changed
lib/gmail/mailbox.rb
@@ -50,6 +50,7 @@ def emails(key_or_opts = :all, opts={})
50
search.concat ['ON', opts[:on].to_imap_date] if opts[:on]
51
search.concat ['FROM', opts[:from]] if opts[:from]
52
search.concat ['TO', opts[:to]] if opts[:to]
53
+ search.concat ['SUBJECT', opts[:subject]] if opts[:subject]
54
end
55
56
# puts "Gathering #{(aliases[key] || key).inspect} messages for mailbox '#{name}'..."
0 commit comments