---
title: Create a Suspicious Emails Task
slug: user-guide-10x/create-a-suspicious-emails-task
docTags: 
createdAt: 2025-06-18T11:01:37.464Z
---

﻿Now that you've created an application that will hold suspicious email records, you are ready to create the task that prompts Swimlane to check for suspicious emails.

To create a suspicious emails task:

1. Access the Integrations page, then click the plus menu icon, and then click **Create a task**.


   ::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/SyFOHvlktbnoatKP8-b5B_create-new-task.png" size="26" width="364" height="308" position="center" showCaption="false"}
2. On Create a task, notice how Swimlane has grouped common task types by asset. Filter for Email plugin action name and then click **Create** on the Email Import plugin action.


   ::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/wlK8EAeltCqL2xlyKVm___email-import-task-create.png" size="30" width="685" height="300" position="center" showCaption="false"}
3. On page 2 of Create a Task, name your task. (We suggest naming it *Import Suspicious Emails.*) Next, from the Application drop-down field, select the application you just created in the previous topic, "Suspicious Emails," and click **Save.**


   ::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/GbG2qEdY_Q-m3_seNAS9m_import-suspicious-emails.png" size="36" width="1314" height="273" position="center" showCaption="false"}

Clicking **Save** opens your task. From here you can begin to configure the task and map the task outputs.

1. On Integration/Import Suspicious Emails, click the Configuration tab.
2. Under Email Import Configuration, select the IMAP Email Asset you created in the [Create an IMAP Email Asset](docId\:CYAsb1Onh11jt83MaUU-n) topic, and ensure that you have selected the **Read** checkbox to indicate the state of the email after the task has run.


   ::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/r0_oSXoRyGR33zJBOdS2Q_email-import-configuration.png" size="38" width="1175" height="316" position="center" showCaption="false"}
3. Next, click the Outputs tab. To begin the mapping process, click **Create/Update Records.**


   ::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/fqPV7oaX_ScMNoHrk5inG_createupdate-records.png" size="32" width="198" height="240" position="center" showCaption="false"}

By selecting **Create/Update Records** you are indicating that you want to update the records of the Suspicious Emails application with the data returned by running this task.

1. Swimlane prompts you to answer the question, "Which app would you like to use?" Select the Suspicious Emails application you previously created; then click the arrow to move forward with the mapping process.


   ::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/QSfIX1QVdc1n_xeogJ-MK_which-app-suspicious.png" size="36" width="911" height="459" position="center" showCaption="false"}

Now you are ready to map the fields in the application to outputs for the task to record.

1. On Create/Update Records for Suspicious Emails, map the fields as follows:

 

| **Parameter** | App Field/Field Type |
| ------------- | -------------------- |
| Attachment    | Attachment           |
| Body          | Body                 |
| Sender        | Submitted By         |
| Subject       | Subject              |

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/BDDYWBnqJRIqAUvMrzQSN_suspicious-emails-output-mapping.png" size="32" width="1209" height="825" position="center" showCaption="false"}

When finished, click **Add Mappings to App.**

1. On Approve Field Creation & Mappings, review the field mappings you've created and click **Approve.**

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/71mQADPkMpdIebOw8kFH5_approve-field-mappings.png" size="50" width="1178" height="781" position="center" showCaption="false"}

1. On Integration/Import Suspicious Emails, click **Save.**

::Image[]{src="https://api.archbee.com/api/optimize/511c8QBH-VHiwWnyzIwUb/oNbodFR0800zR-LnQ2hyo_suspicious-emails-task-saved.png" size="10" width="141" height="73" position="center" showCaption="false"}

Swimlane will now begin checking every 60 seconds for new emails based on your task.

## Related Links

[Configurations and Input Mapping](docId\:a18JbA9DkQBGgTr8d4KJG)

[Integrations](docId\:tb1tjlesuLIOavEEK1JSG)

[Output Mapping](docId\:OCwBK73t-1mQ2BIHOFC5P)

[Plugins](docId\:o4ZmSSzvgpHoqZnw0jtRg)

[Records](docId\:zK4oaGBYHPssVfKhhZ8cH)

[Tasks](docId\:Ryxk0zN8kFYu4Nr-zKwjM)
