all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* E-mail package
@ 2024-10-19 14:15 gfp
  2024-10-19 15:21 ` Jude DaShiell
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: gfp @ 2024-10-19 14:15 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org


[-- Attachment #1.1.1: Type: text/plain, Size: 566 bytes --]

Hi GNU Emacs,

1.
I need a graphical overview of folders in my E-mail package
in order to find messages.

In Emacs:
Mu4e,
Mutt (no pop, imap),
Gnus
in all of them there are no folders available.

Are there possibilities to create folders?


2.
I got to know that Thunderbird spies on us and collects data.

2.
which graphical E-mail package do you use, if any?
What would you suggest?

3.

Evolution,
Geary (no pgp)
KMail,
Kontakt - (KDE) probably works only on a KDE Plasma desktop I guess
Claws Mail freezes said somebody

Gottfried

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2451 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 665 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: E-mail package
  2024-10-19 14:15 gfp
@ 2024-10-19 15:21 ` Jude DaShiell
  2024-10-20  3:19 ` W. Greenhouse
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 10+ messages in thread
From: Jude DaShiell @ 2024-10-19 15:21 UTC (permalink / raw)
  To: gfp, help-gnu-emacs@gnu.org

There are ways to create folders in mutt, but they're called mailboxes if
memory serves.  That takes configuration of mailboxes to do it in mutt.
In /usr/share/mutt there is a script called fleacollar.sh.  It may be near
that directory.  If you run fleacollar.sh in your user account
fleacollar.sh will set many things up for you.

-- 
 Jude <jdashiel at panix dot com>
 "There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo.
 Please use in that order."
 Ed Howdershelt 1940.

On Sat, 19 Oct 2024, gfp wrote:

> Hi GNU Emacs,
>
> 1.
> I need a graphical overview of folders in my E-mail package
> in order to find messages.
>
> In Emacs:
> Mu4e,
> Mutt (no pop, imap),
> Gnus
> in all of them there are no folders available.
>
> Are there possibilities to create folders?
>
>
> 2.
> I got to know that Thunderbird spies on us and collects data.
>
> 2.
> which graphical E-mail package do you use, if any?
> What would you suggest?
>
> 3.
>
> Evolution,
> Geary (no pgp)
> KMail,
> Kontakt - (KDE) probably works only on a KDE Plasma desktop I guess
> Claws Mail freezes said somebody
>
> Gottfried
>



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: E-mail package
  2024-10-19 14:15 gfp
  2024-10-19 15:21 ` Jude DaShiell
@ 2024-10-20  3:19 ` W. Greenhouse
  2024-10-21  8:47   ` Eric S Fraga
  2024-12-06 22:11 ` Jean Louis
  2024-12-21 11:50 ` Joel Reicher
  3 siblings, 1 reply; 10+ messages in thread
From: W. Greenhouse @ 2024-10-20  3:19 UTC (permalink / raw)
  To: help-gnu-emacs

gfp <gfp@posteo.at> writes:

> Hi GNU Emacs,
>
> 1.
> I need a graphical overview of folders in my E-mail package
> in order to find messages.
>
> In Emacs:
> Mu4e,
> Mutt (no pop, imap),
> Gnus
> in all of them there are no folders available.
>
> Are there possibilities to create folders?

Gnus has folder support. This is through the `gnus-group-make-group'
command, bound by default to G m when looking at the *Group* buffer.




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: E-mail package
  2024-10-20  3:19 ` W. Greenhouse
@ 2024-10-21  8:47   ` Eric S Fraga
  0 siblings, 0 replies; 10+ messages in thread
From: Eric S Fraga @ 2024-10-21  8:47 UTC (permalink / raw)
  To: help-gnu-emacs

Response below/inline for email W. Greenhouse wrote:
> (original email sent 19 Oct 2024 at 23:19)
> Gnus has folder support. This is through the `gnus-group-make-group'
> command, bound by default to G m when looking at the *Group* buffer.

And existing folders for any email server can be seen by switching to
the server view in gnus (^ from the Group buffer) and typing RET on the
particular server.

-- 
Eric S Fraga via gnus (Emacs 31.0.50 2024-08-28) on Debian bookworm/sid




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: E-mail package
  2024-10-19 14:15 gfp
  2024-10-19 15:21 ` Jude DaShiell
  2024-10-20  3:19 ` W. Greenhouse
@ 2024-12-06 22:11 ` Jean Louis
  2024-12-21 11:50 ` Joel Reicher
  3 siblings, 0 replies; 10+ messages in thread
From: Jean Louis @ 2024-12-06 22:11 UTC (permalink / raw)
  To: gfp; +Cc: help-gnu-emacs@gnu.org

* gfp <gfp@posteo.at> [2024-10-19 17:17]:
> Hi GNU Emacs,
> 
> 1. I need a graphical overview of folders in my E-mail package
> in order to find messages.
> 
> In Emacs:
> Mu4e,
> Mutt (no pop, imap),
> Gnus
> in all of them there are no folders available.
> 
> Are there possibilities to create folders?
> 
> 
> 2.
> I got to know that Thunderbird spies on us and collects data.
> 
> 2.
> which graphical E-mail package do you use, if any?
> What would you suggest?
> 
> 3.
> 
> Evolution,
> Geary (no pgp)
> KMail,
> Kontakt - (KDE) probably works only on a KDE Plasma desktop I guess
> Claws Mail freezes said somebody

The decades long strategy I follow is that for each email of
correspondent, such as user@example.com my software generates
automatically folder in ~/Maildir such as ~/Maildir/user@example.com
which contains all the correspondence between any of my emails and the
correspondent.

- I am using Maildir mail box type for reasons explained here:
  cr.yp.to/proto/maildir.html:
  http://cr.yp.to/proto/maildir.html

- All correspondence related to particular email address go to
  specific Maildir for that address, like ~/Maildir/user@example.com

- If I am using any other E-mail software, that maybe saves e-mails
  into single file, then I use GNU Mailutils program `sieve' and sort
  all the e-mails to their corresponding Maildir folders such as
  ~/Maildir/user@example.com

- Listing Maildir folders is possible within Emacs as well with
  maildir.el package and `mu' for Emacs

- Making list of folders may be done this way:

(defun mutt-emails-of-email (email)
  "Opens XTerm with mutt showing conversations related to EMAIL."
  (let* ((maildir (format (concat (file-name-as-directory
				   (getenv "MAILDIR"))
				  "%s")
			  email)))
    (start-process "Mutt" "Mutt" "xterm" "-e" "mutt" "-f" maildir)))

Then this function generates Org file with 1000 folders maximum, it is made for demonstration:

(defun my-maildirs ()
  "List maildir folders in Org mode ready to launch."
  (interactive)
  (catch 'no-maildir-found
    (let ((maildir (getenv "MAILDIR")))
      (unless (and maildir
		   (file-directory-p maildir))
	(throw 'no-maildir-found "I did not find $MAILDIR environment."))
    (let ((maildir-files (seq-take (directory-files maildir t "@") 1000))
	  (meta-buffer "my-maildirs.org"))
    (with-temp-buffer-window meta-buffer nil nil
      (switch-to-buffer meta-buffer)
      (org-mode)
      (keymap-local-set "<RET>" 'org-open-at-point)
      (keymap-local-set "q" 'quit-window)
      (insert "#+TITLE: My Maildir folders\n\n")
      (insert "* My Maildirs\n\n")
      (while maildir-files
	(let ((file (pop maildir-files)))
	  (insert (format "- [[elisp:(mutt-emails-of-email \"%s\")][%s]]\n" 
			  (file-name-nondirectory file)
			  (file-name-nondirectory file))))))))))

It works very good on my side.

By using similar approach, one can fire any other e-mail comptaible
software on the Maildir folder to see what is inside or to read and
send emails.

Folders are available in each of software you mentioned.

For Mutt, here is settings:

# Save by email address
set save_name=yes
set save_address=yes
set folder=/home/data1/protected/Maildir
set mbox_type=Maildir
set record="+Sent"

So basically one needs settings to ensure that email sent to user is saved into ~/Maildir/user@example.com

or sieve to move emails from one folder to system folders.

Here is sieve script:

require [ "fileinto", "variables" ];
if address :matches [ "from" ] "*" {
  set "recipient" :lower "${1}";
  fileinto "~/Maildir/${recipient}";
            }

and it is run on mbox type like:

sieve -v --dry-run -f MBOX-FILE name-of-sieve-script

where you remove dry run, and replace MBOX-FILE with actual file and
sieve script with the name of actual script.

How to create Maildir:

$ maildirmake Maildir/my@folder.com

You can call folders as you wish.

I do not use graphical email, but when I use, then Geary for sending
or Thunderbird. But then I sort Sent emails into Maildir folders.

Emacs is enough graphica

How to open Maildir in Emacs?l
------------------------------

(defun rcd-maildir-open (email)
  "Opens maildir for email address"
  (let ((maildir (concat (file-name-as-directory (getenv "MAILDIR")) email)))
    (maildir-list maildir)))

We must understand that above will open Maildir as EMAIL address as specified in the $MAILDIR main directory.

And maildir.el library is here:

https://github.com/nicferrier/emacs-maildir

That means function could be rewritten to show folders in Org mode:

(defun my-maildirs ()
  "List maildir folders in Org mode ready to launch."
  (interactive)
  (catch 'no-maildir-found
    (let ((maildir (getenv "MAILDIR")))
      (unless (and maildir
		   (file-directory-p maildir))
	(throw 'no-maildir-found "I did not find $MAILDIR environment."))
      (let ((maildir-files (seq-take (directory-files maildir t "@") 1000))
	    (meta-buffer "my-maildirs.org"))
	(with-temp-buffer-window meta-buffer nil nil
	  (switch-to-buffer meta-buffer)
	  (org-mode)
	  (keymap-local-set "<RET>" 'org-open-at-point)
	  (keymap-local-set "q" 'quit-window)
	  (insert "#+TITLE: My Maildir folders\n\n")
	  (insert "* My Maildirs\n\n")
	  (while maildir-files
	    (let ((file (pop maildir-files)))
	      (insert (format "- [[elisp:(rcd-maildir-open \"%s\")][%s]]\n" 
			      (file-name-nondirectory file)
			      (file-name-nondirectory file))))))))))

Then it works pretty much in Emacs, user can run function and get list
of all emails, search for particular email and by click open all
conversation related to that email. But maildir.el is not complete, so
deleting emails is not option, that is I use Mutt.

-- 
Jean Louis



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: E-mail package
  2024-10-19 14:15 gfp
                   ` (2 preceding siblings ...)
  2024-12-06 22:11 ` Jean Louis
@ 2024-12-21 11:50 ` Joel Reicher
  3 siblings, 0 replies; 10+ messages in thread
From: Joel Reicher @ 2024-12-21 11:50 UTC (permalink / raw)
  To: gfp; +Cc: help-gnu-emacs@gnu.org

gfp <gfp@posteo.at> writes:

[...]

> which graphical E-mail package do you use, if any?
> What would you suggest?
>
> 3.
>
> Evolution,
> Geary (no pgp)
> KMail,
> Kontakt - (KDE) probably works only on a KDE Plasma desktop I 
> guess
> Claws Mail freezes said somebody

Maybe check

https://directory.fsf.org/wiki/Category/Email-software/mail-client

?

(Don't forget to click  "further results"

Regards,

        - Joel



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: E-mail package
@ 2024-12-23 17:27 Christopher Howard
  2024-12-23 18:50 ` gfp
  0 siblings, 1 reply; 10+ messages in thread
From: Christopher Howard @ 2024-12-23 17:27 UTC (permalink / raw)
  To: Joel Reicher; +Cc: gfp, help-gnu-emacs@gnu.org

Could you clarify again why it is that you want a 3rd party "graphical e-mail client". I have found that the built-in Gnus does everything I want and more, including rending HTML and image parts. Gnus' splitting system, groups, and related features have work well for me.

-- 
Christopher Howard



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: E-mail package
  2024-12-23 17:27 E-mail package Christopher Howard
@ 2024-12-23 18:50 ` gfp
  2024-12-24 16:48   ` Christopher Howard
  0 siblings, 1 reply; 10+ messages in thread
From: gfp @ 2024-12-23 18:50 UTC (permalink / raw)
  To: Christopher Howard, Joel Reicher; +Cc: help-gnu-emacs@gnu.org


[-- Attachment #1.1.1: Type: text/plain, Size: 1012 bytes --]

Hi,

thanks for answering me.

I need a graphical view of folders, because I have created approx. 100 
folders and put every email via filters in those folders.
So I can quickly find messages related to some specific topic or addresses.

I don't know at the moment how could I achieve that in Emacs.
Secondly I am learning Emacs and am not yet in a stage to do everything 
via keybindings.
I also don't know how much time it would need to set up my e-mail stuff 
in Emacs.
I used already so much time to learn Emacs and to set up something in 
Emacs takes a lot of time, which I don´t have.
I read that to set up Gnus takes much time.

thanks

Gottfried



Am 23.12.24 um 18:27 schrieb Christopher Howard:
> Could you clarify again why it is that you want a 3rd party "graphical e-mail client". I have found that the built-in Gnus does everything I want and more, including rending HTML and image parts. Gnus' splitting system, groups, and related features have work well for me.
> 


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2451 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 665 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: E-mail package
  2024-12-23 18:50 ` gfp
@ 2024-12-24 16:48   ` Christopher Howard
  2024-12-25  9:22     ` gfp
  0 siblings, 1 reply; 10+ messages in thread
From: Christopher Howard @ 2024-12-24 16:48 UTC (permalink / raw)
  To: gfp; +Cc: Joel Reicher, help-gnu-emacs@gnu.org

gfp <gfp@posteo.at> writes:

> Hi,
>
> thanks for answering me.
>
> I need a graphical view of folders, because I have created approx. 100
> folders and put every email via filters in those folders.
> So I can quickly find messages related to some specific topic or addresses.
>
> I don't know at the moment how could I achieve that in Emacs.
> Secondly I am learning Emacs and am not yet in a stage to do
> everything via keybindings.
> I also don't know how much time it would need to set up my e-mail
> stuff in Emacs.
> I used already so much time to learn Emacs and to set up something in
> Emacs takes a lot of time, which I don´t have.
> I read that to set up Gnus takes much time.
>

There is a learning curve to Gnus, for sure, but the info manual is very helpful, and also there is a
#gnus irc channel on libera that is helpful.

Gnus has something called "Groups" and a "Group Buffer". These groups can be thought of like folders, and through "splitting", incoming mail can be moved into various groups automatically based on subject, From addresses, and so forth. I use this for splitting mailing lists out into their own groups.

After that, you get more great things you can do with groups, like assigning levels of importance to groups. This way, you can choose to view only certain groups depending on, say, how much spare time you have a give moment. And within a group, you can filter out threads that are not of interest to you.

Further advantages of Gnus is (1) it integrates well with your other Emacs processes and configuration; and (2) you can use it to handle other kinds of messages, through various Gnus backends. E.g., nnatom and nnrss can be used to process Blog and News feeds.

Since you have some involvement in Emacs already, I would encourage giving more consideration to Gnus. It allows you to apply to the power of Emacs text processing and programmability to the whole notion of "processing news", which includes handling incoming e-mail messages, as well as various other sources of information.

-- 
Christopher Howard



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: E-mail package
  2024-12-24 16:48   ` Christopher Howard
@ 2024-12-25  9:22     ` gfp
  0 siblings, 0 replies; 10+ messages in thread
From: gfp @ 2024-12-25  9:22 UTC (permalink / raw)
  To: Christopher Howard; +Cc: Joel Reicher, help-gnu-emacs@gnu.org


[-- Attachment #1.1.1: Type: text/plain, Size: 2815 bytes --]

Hi Christopher,

thanks very much for the detailed explanation.

When I opening Thunderbird, and I am connected to the internet,
I see all my folders (if I also scroll down, because I have many)
and see immediately all new incoming emails in the specific folders,
I have created, because the folders with the new emails
turn in bold letters.
So I have in some seconds the overview of all new emails arrived
and can now assess, which emails are important to me.

That is very handy for me, because I am a "graphical person",
I like a graphical overview.

Is that also achievable in GNUS?
with groups?

Kind regards

Gottfried


Am 24.12.24 um 17:48 schrieb Christopher Howard:
> gfp <gfp@posteo.at> writes:
> 
>> Hi,
>>
>> thanks for answering me.
>>
>> I need a graphical view of folders, because I have created approx. 100
>> folders and put every email via filters in those folders.
>> So I can quickly find messages related to some specific topic or addresses.
>>
>> I don't know at the moment how could I achieve that in Emacs.
>> Secondly I am learning Emacs and am not yet in a stage to do
>> everything via keybindings.
>> I also don't know how much time it would need to set up my e-mail
>> stuff in Emacs.
>> I used already so much time to learn Emacs and to set up something in
>> Emacs takes a lot of time, which I don´t have.
>> I read that to set up Gnus takes much time.
>>
> 
> There is a learning curve to Gnus, for sure, but the info manual is very helpful, and also there is a
> #gnus irc channel on libera that is helpful.
> 
> Gnus has something called "Groups" and a "Group Buffer". These groups can be thought of like folders, and through "splitting", incoming mail can be moved into various groups automatically based on subject, From addresses, and so forth. I use this for splitting mailing lists out into their own groups.
> 
> After that, you get more great things you can do with groups, like assigning levels of importance to groups. This way, you can choose to view only certain groups depending on, say, how much spare time you have a give moment. And within a group, you can filter out threads that are not of interest to you.
> 
> Further advantages of Gnus is (1) it integrates well with your other Emacs processes and configuration; and (2) you can use it to handle other kinds of messages, through various Gnus backends. E.g., nnatom and nnrss can be used to process Blog and News feeds.
> 
> Since you have some involvement in Emacs already, I would encourage giving more consideration to Gnus. It allows you to apply to the power of Emacs text processing and programmability to the whole notion of "processing news", which includes handling incoming e-mail messages, as well as various other sources of information.
> 


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2451 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 665 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-12-25  9:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-23 17:27 E-mail package Christopher Howard
2024-12-23 18:50 ` gfp
2024-12-24 16:48   ` Christopher Howard
2024-12-25  9:22     ` gfp
  -- strict thread matches above, loose matches on Subject: below --
2024-10-19 14:15 gfp
2024-10-19 15:21 ` Jude DaShiell
2024-10-20  3:19 ` W. Greenhouse
2024-10-21  8:47   ` Eric S Fraga
2024-12-06 22:11 ` Jean Louis
2024-12-21 11:50 ` Joel Reicher

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.