Multiple email accounts from the same server in Emacs Gnus
- by docgnome
I'm trying to set up Gnus to use both my gmail accounts but I can only ever get one at a time to show up in the list of folders. 
(setq gnus-select-method '(nnimap "[email protected]"
                            (nnimap-address "secure.emailsrvr.com")
                            (nnimap-server-port 993)
                            (nnimap-stream ssl)))
(setq gnus-secondary-select-methods
      '((nnimap "[email protected]"
                (nnimap-address "imap.gmail.com")
                (nnimap-server-port 993)
                (nnimap-stream ssl))
        (nnimap "[email protected]"
                (nnimap-address "imap.gmail.com")
                (nnimap-server-port 993)
                (nnimap-stream ssl))))
That is the relevant portions of my .gnus file. It prompts me for three username passwords on startup. After I enter all three, I can access my work account and the gmail account that I enter the creds for second. This is really annoying! Any ideas?