Creating an account
Pick a username and a separate @daaymail.com address.
Your login username and your @daaymail.com address are separate — they do not have to match. Recovery email is optional. Do not send name; the API builds it from firstName + lastName.
POST BASE/v1/api/auth/sign/up/email
Content-Type: application/json
{
"username": "ada",
"email": "ada@daaymail.com",
"password": "CorrectHorseBattery1!",
"confirmPassword": "CorrectHorseBattery1!",
"firstName": "Ada",
"lastName": "Example"
}
Or send localPart instead of email (the server builds the full address for you):
{
"username": "ada",
"localPart": "ada",
"password": "CorrectHorseBattery1!",
"confirmPassword": "CorrectHorseBattery1!",
"firstName": "Ada",
"lastName": "Example"
}
The API creates one active mailbox for that address. You get exactly one mailbox per account.
Optional on the same call:
{
"recoveryEmail": "ada@gmail.com"
}
Without recovery you can sign in with password right away. needsRecoveryEmail stays true until you add recovery later.
Confirm your recovery email (when provided)
POST BASE/v1/api/auth/email/otp/verify
Content-Type: application/json
{
"email": "ada@daaymail.com",
"otp": "123456"
}
The code is delivered to the recovery inbox. After a successful verify you are signed in immediately — no separate sign-in needed.
Next: Signing in · Signing in with Google · Updating your profile.
