aboutsummaryrefslogtreecommitdiffstats
path: root/src/email.lisp
AgeCommit message (Collapse)Author
2022-05-21Add license (GNU GPLv3+)Teddy Wing
2022-05-08deliver-email: Don't set an output stream on the executed programTeddy Wing
We don't need to get the output of the executed mail sender program. I added it for testing purposes.
2022-05-08deliver-email: Send email data to programTeddy Wing
Allow a "sendmail" program to be configured. If set, `deliver-email` will spawn the program and write the email its standard input. We can thus send the email by invoking the external program.
2022-05-08Format 'issue created' emailTeddy Wing
Include a selection of metadata values in the email. I needed to pass `config` to `deliver-email` in order to be able to build a URL to the ticket based on the `endpoint` field. Also needed to make the field list a vector instead of a list, otherwise 'jzon' interpreted it as being a plist and serialized it to a JSON object.
2022-05-08Start of email buildingTeddy Wing
Take a recipient email address. Build an email containing the issue details. Change the `run` loop to only operate on a single issue for testing purposes.