# העברת מיילים

> כתובת של לומן שמעבירים אליה מיילים. מה שמגיע אליה יכול להתחיל את התהליכים שלכם.

Source: https://docs.go-lumen.ai/he/reference/connections/email-forward

## במבט אחד

| מאפיין | ערך |
| --- | --- |
| **Class name** | `email-forward` |
| **Resource** | ConnectorClass (`lumen.ai/v1alpha1`); a workspace creates a Connector with `classRef: {name: email-forward}` |
| **Driver** | `email-forward` |
| **Provides** | `email` |
| **Mode** | push (the outside system pushes data in) |

A workspace adds this connection on the Connections page or with `lumen connect`; credentials are kept in a Secret, never in the flow.

## הגדרות

Set under `config:` on the Connector.

| הגדרה | סוג | ברירת מחדל | תיאור |
| --- | --- | --- | --- |
| `address` | string |  | Forward your mail to this address |
| `allowedSenders` | list of string |  | A full address (ana@acme.com) or a whole domain (\*@acme.com). Leave empty to accept mail from anyone. |

ה-JSON Schema המלא של ההגדרות: [email-forward.schema.json](https://docs.go-lumen.ai/schemas/connections/email-forward.schema.json).

## שימוש

```yaml title="connector.yaml"
apiVersion: lumen.ai/v1alpha1
kind: Connector
metadata:
  name: my-email-forward
  namespace: tenant-acme
spec:
  classRef: {name: email-forward}
  config: {}
---
apiVersion: lumen.ai/v1alpha1
kind: Flow
metadata:
  name: email-arrives-email-forward-example
  namespace: tenant-acme
spec:
  displayName: "Email forwarding"
  triggers:
    - id: start
      ref: {name: email-arrives}
      connectorRef: {name: my-email-forward}
      next: [notify-in-app]
  nodes:
    - id: notify-in-app
      stepRef: {name: notify-in-app}
      config:
        body: 'Total: {total}'
        title: New invoice from {supplier}
        to: admins
```
