Commit graph

22 commits

Author SHA1 Message Date
Hongbo Wu
de0fb8542a Decode email metadata from rfc2047 encoded 2023-04-20 20:52:43 +08:00
Hongbo Wu
e48ba1c5b2 Add test case 2023-04-14 18:55:57 +08:00
Hongbo Wu
ea3077ea2e Use receipient address in the envelope field 2023-03-23 18:18:33 +08:00
Hongbo Wu
66d3ffe7f3 Fix not correctly set confirmation code from Gmail in Spanish 2022-11-01 12:54:45 +08:00
Hongbo Wu
53d6afe25f Fix tests 2022-10-04 10:47:58 +08:00
Hongbo Wu
dfbd317f99 Import content-handler in inbound-email-handler 2022-09-30 12:51:22 +08:00
Hongbo Wu
ea59efbf4d Replace with the test address 2022-09-09 15:22:22 +08:00
Hongbo Wu
02ab4e45e5 Fix not setting confirmation code from Google Japan confiramtion emails 2022-09-09 15:12:19 +08:00
Hongbo Wu
cea1c856f7 fix not getting unsubscribe email address from beehiv newsletter by decoding the list-unsubscribe header 2022-07-25 17:15:12 +08:00
Hongbo Wu
6ea5bc3b18 fix dependecies 2022-07-08 12:10:32 +08:00
Hongbo Wu
7b714e7bc3 fix tests 2022-07-07 17:38:14 +08:00
Hongbo Wu
824d211df2 Support morning brew newsletter and add tests 2022-05-16 10:37:50 +08:00
Hongbo Wu
6d2700e865 fix tests 2022-04-21 21:31:31 +08:00
Hongbo Wu
5c7f4a22bf
Save subscriptions when saving newsletters (#447)
* parse unsub mailTo or httpUrl and send to pubsub

* save subscription from newsletter

* fix tests
2022-04-20 09:24:40 +08:00
Hongbo Wu
0a67032fd3 fix tests 2022-04-06 21:09:22 +08:00
Hongbo Wu
705b67946d
Close #115 (#117)
* forward all emails we failed to handle

* update Regex to get confirmation code from email subject

* add tests

* removed real email from tests
2022-02-24 10:28:17 +08:00
Hongbo Wu
610c9c6348
Closes #37 (#109)
* change return value for new version of pubsub

* add support for the other bloomberg newsletters not only business

* add default fallback url if newsletter url not found

* revert pubsub version change
2022-02-23 11:17:59 +08:00
Hongbo Wu
207f77c419
Add support for Golang Weekly newsletters (#96)
* abstract different newsletter handler to a class

* create a generic newsletter handler class

* add support for golang-weekly newsletters

* add tests for golang weekly newsletters

* use addressparser lib to parse author from from address
2022-02-21 14:37:48 +08:00
Hongbo Wu
e3839647e1 parse bloomberg newsletter 2022-02-17 20:14:06 +08:00
Hongbo Wu
bd8178a464 add support for bloomberg newsletters 2022-02-17 13:19:58 +08:00
Hongbo Wu
e85273d87a
add support for axios newsletters (#49)
* add support for axios newsletters

* fix raw url

* fix getting newsletter url from axios

* add test for url

* add axios parser
2022-02-15 11:56:03 +08:00
Jackson Harper
84f32935f5 Open source omnivore 2022-02-11 09:24:33 -08:00