Last active
June 6, 2023 17:05
-
-
Save xenodium/d9425fa4fa19af332bc443ecaf8870e2 to your computer and use it in GitHub Desktop.
Decline sender offer from mu4e using chatgpt-shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun ar/chatgpt-decline-offer-from-sender () | |
(interactive) | |
(unless (eq major-mode 'mu4e-compose-mode) | |
(user-error "Not in mu4e:compose mode")) | |
(let ((chatgpt-shell-prompt-query-response-style 'inline)) | |
(chatgpt-shell-send-to-buffer | |
(concat "write a succinct email reply body and kindly decline explictly to the following email as I am not interested: \n\n" | |
(buffer-substring-no-properties (point-min) (point-max)))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment