KSmartKawaniDocs
Settings

Email and SMTP

Connect your own mailbox so SmartKawani can tell people about decisions instead of waiting for them to sign in.

Out of the box SmartKawani sends no email at all. Every notification — a leave decision, a correction outcome, a reply on a ticket — is in-app only, which means nobody hears about it until they next sign in.

Connecting a mailbox fixes that. SmartKawani sends through your own SMTP account, so the mail arrives from your company's address rather than from a stranger's, which is most of what keeps it out of a spam folder.

What you need

Any SMTP account your company already has. For Google Workspace that is smtp.gmail.com with an app password — not the account password.

An app password is scoped to mail alone, carries no access to the rest of the Google account, and can be revoked from the account page without disturbing the real password. Generate one under your Google account's security settings. Microsoft 365, Zoho and most hosts have an equivalent.

Setting it up

Settings → Email.

If you use Gmail, Microsoft 365 or Zoho, pick it from the list at the top. That fills in the technical boxes for you and you can skip past them. Then all you need is:

Field What to put
Username Usually the full email address
Password The app password (see below)
From name What people see the email as coming from — your company name
From address The mailbox you are sending through
Reply-to Optional. Where replies should go, if somewhere else

If your provider is not on the list

Your email provider publishes these; look for a help page called "SMTP settings". You need the server address (something like smtp.yourhost.com), the port, and whether to tick TLS from the first byte.

The only thing worth knowing about that tick box: leave it off for port 587 and on for port 465. Those two go together, and getting them the wrong way round is why a connection fails. Your provider's help page will say which port to use.

Send a test before switching it on

Send test sends one message to your own address using the settings as saved. The result is reported on the page, and the last attempt and its error are kept, so you can come back to a failure rather than having to reproduce it.

Do this first. A wrong password fails at the SMTP handshake and the message is usually clear — 535 means the credentials were rejected, which for Gmail almost always means the account password was used instead of an app password.

Choosing what gets sent

Four events, each with its own switch:

  • Someone files a leave request — goes to whoever can approve it
  • A leave request is approved or rejected — goes to the employee who filed
  • An attendance correction is decided — goes to the employee
  • A ticket gets a reply — off by default, because it is the noisiest one

The master switch governs all of them. While it is off, nothing is sent whatever the individual toggles say.

What is not emailed

Payslips are not attached to email. Sending a run notifies the employee in-app that a payslip is ready; they read it, and print it, signed in. A payslip is pay, and pay does not belong in an inbox that may be shared or forwarded.

Your password is write-only

The password can be set and replaced, but never read back — not on screen, not by an administrator, and not by us. SmartKawani unlocks it only at the moment it sends an email.

If you lose it, generate a new app password and set it again. There is nowhere to look it up, which is the point.

If mail stops arriving

  • Check the master switch. It is off by default and stays off until somebody turns it on.
  • Send a test. It reports the actual SMTP error rather than a summary.
  • Check the app password still exists. Revoking it in Google — or changing the account password, which revokes all of them — stops SmartKawani sending with no warning here.
  • Look in the recipient's spam folder once. If mail from your own domain is being filed as spam, your domain's SPF or DKIM records are usually the reason, and that is a DNS matter rather than a SmartKawani one.

Nothing that fails to send is lost: the in-app notification is the record, and the email is the courtesy copy.