ReceivingService class, which uses the same API key authentication as EmailService.
config.properties (APIKEY), the same file used by EmailService.
Domains
List domains
Create a domain
null to auto-generate a slug.
Get a domain
Delete a domain
Mailboxes
List mailboxes
Create a mailbox
quotaBytes (pass null for no quota).
Get a mailbox
Delete a mailbox
Emails
List received emails
limit, after cursor, and before cursor — all nullable.
Get a received email
Download an attachment
java.nio.file.Files.write to save to disk.