> For the complete documentation index, see [llms.txt](https://kylin-inc.gitbook.io/kylinbot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kylin-inc.gitbook.io/kylinbot/security-tasks/mail-provider.md).

# Mail Provider

## Introduce

The email provider task is responsible for registering accounts on some websites or sending verification codes to the website's registered email address for account verification.

## Create a Mail Provider

The mail provider is a task which can read email from your email box and let other tasks to get the verification codes and activation URLs. The account generator needs a mail provider to receive the activation URLs to be able to activate accounts automatically.

Create a task with type `Gmail` from the `Tasks` on security page.

![](/files/2trYXZoll6bVW5Qdofi0)

And then select a proxy group, and a proxy if necessary. \
\
![](/files/kdgWH9b0JrlpdJePGHsb)

Click `Save` to create a Gmail task.

![](/files/MTmknY8G2sXNUZQNQ4WL)

Click the `Start` button to start this task, and click to <img src="/files/X9ThakeVhlYkX2C9r6Ft" alt="" data-size="line"> open the browser window. It supports automatic login and manual account login. If imap is used, it will automatically log in to the account.

{% hint style="warning" %}
Kylin currently supports only one email provider, that is, gmail. Make sure you have setup your catch-all email correctly and forwards all your email to the email box.
{% endhint %}

## Notes

* The mail provider must be a gmail.
* It is recommended to use isp instead of localhost
* If you create Google (imap), please note that you need to create a google (app) account category under the account page, and the password needs to be a special 16-digit password. For details, please check:  <https://support.google.com/accounts/answer/185833?hl=en>
* You should set a catch-all email domain and forwards all your emails to a email address.
* It's normal if task is waiting for gmail
* Recreate updating tasks for failed accounts, until all of them become `NORMAL`
* Create the updating tasks to check account status if the status is `UNKNOWN`
* The websites that currently support emial provider are Footsites and Nike.
