Versions in this module Expand all Collapse all v1 v1.0.0 Sep 18, 2026 Changes in this version + const DefaultAPIEndpoint + const DefaultWebBase + func IsEtherealAddress(email string) bool + func IsEtherealHost(host string) bool + func MessageURL(messageID string) string + type Account struct + IMAP EndpointConfig + MXEnabled bool + POP3 EndpointConfig + Pass string + SMTP EndpointConfig + Status string + User string + Web string + func CreateAccount(ctx context.Context, opts ...Option) (*Account, error) + func (a *Account) Auth() smtp.Auth + func (a *Account) SMTPAddr() string + type EndpointConfig struct + Host string + Port int + Secure bool + func (e EndpointConfig) Addr() string + type Option func(*Options) + func WithEndpoint(endpoint string) Option + func WithHTTPClient(client *http.Client) Option + func WithRequestor(requestor string) Option + type Options struct + Endpoint string + HTTPClient *http.Client + Requestor string