gte/pkg/mstore/email.go

26 lines
429 B
Go
Raw Normal View History

2021-01-26 07:16:53 +01:00
package mstore
import (
"github.com/emersion/go-imap/client"
)
type EMailStoreConfiguration struct {
IMAPURL string
IMAPPort int
IMAPUsername string
IMAPPassword string
SMTPURL string
SMTPPort int
SMTPUsername string
SMTPPassword string
}
type EMailStore struct {
imapClient *client.Client
}
func NewEmailStore(config *EMailStoreConfiguration) (*EMailStore, error) {
return &EMailStore{}, nil
}