summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--init.el8
2 files changed, 11 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 3d9810f..fa52a9c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,6 @@ etc/*
# Allow snippets tho
!etc/yasnippet
+
+# Hide secrets :)
+secrets.el
diff --git a/init.el b/init.el
index 500347d..c044d85 100644
--- a/init.el
+++ b/init.el
@@ -111,6 +111,14 @@
:config
(org-roam-db-autosync-mode))
+;; Mail
+(load (locate-user-emacs-file "secrets.el")) ; Full-name and Mail address
+(setq gnus-select-method '(nnimap "imap.gmail.com")
+ message-send-mail-function 'smtpmail-send-it
+ smtpmail-default-smtp-server "smtp.gmail.com"
+ gnus-message-archive-method '(nnimap "imap.gmail.com")
+ gnus-message-archive-group "[Gmail]/Sent Mail") ; Gmail configuration
+
;; Undo
(use-package vundo
:custom