Commit Graph

13 Commits

Author SHA1 Message Date
tomholford
37b5136e89 devex: remove debug statements 2023-05-03 09:44:45 -07:00
tomholford
8af638839a api: send-template thread handles vars map 2023-05-03 09:28:44 -07:00
tomholford
49a5a1a9a7 api: send-template can send base template
Successfully sent an email like so:

```hoon
=vars `(map @t @t)`(malt ~[['name' 'john'] ['notifications' '1337']])
```

```
-bark!mailchimp-send-template "[KEY]" "tom@tlon.io" "landscape-weekly-digest" vars
```

TODO: handle the `vars` map
2023-05-03 07:05:29 -07:00
tomholford
9321c38db2 api: send-template thread (wip) 2023-04-27 20:00:44 -07:00
midsum-salrux
92fe772016
Merge pull request #9 from tloncorp/bark-and-growl-agents
Bark and growl agents & marks
2023-04-26 18:40:53 -04:00
tomholford
41589c1ff6 api: email thread returns a unit 2023-04-26 12:27:05 -07:00
tomholford
5e98330099 api: address PR feedback
- wutsigs are now one-liners
- clean up file comment
2023-04-26 12:24:54 -07:00
tomholford
9fe45707e4 api: handle null email response 2023-04-26 12:04:16 -07:00
tomholford
b0461ac810 api: hosting email thread 2023-04-26 12:01:27 -07:00
~midsum-salrux
8336208295 Bark and growl agents & marks 2023-04-24 18:41:14 -04:00
tomholford
6c2076e8b5 api: update send request payload 2023-04-21 14:11:07 -07:00
tomholford
53213e15e2 api: Mailchimp Send Email API 2023-04-19 22:22:53 -07:00
tomholford
fa17f1af9a api: initial Mailchimp API integration
Implements the health check call as described here:

https://mailchimp.com/developer/transactional/guides/quick-start/#make-your-first-api-call

The Production API key is stored in 1password under Tlon Hosting > Mailchimp Transactional API key
2023-04-19 21:17:54 -07:00