> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.EMailEntity

# <a id="SuperOffice_WebApi_Data_EMailEntity" /> Class EMailEntity

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Carrier object for EMailEntity.
All information about an e-mail

```csharp theme={null}
public class EMailEntity : Carrier
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Carrier](SuperOffice.WebApi.Data.Carrier.md) ←
[EMailEntity](SuperOffice.WebApi.Data.EMailEntity.md)

#### Inherited Members

[Carrier.TableRight](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_TableRight),
[Carrier.FieldProperties](SuperOffice.WebApi.Data.Carrier.md#SuperOffice_WebApi_Data_Carrier_FieldProperties),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

## Constructors

### <a id="SuperOffice_WebApi_Data_EMailEntity__ctor" /> EMailEntity()

Default constructor - defaults any enum props to 0.

```csharp theme={null}
public EMailEntity()
```

## Properties

### <a id="SuperOffice_WebApi_Data_EMailEntity_AccountId" /> AccountId

Account Id

```csharp theme={null}
public virtual int AccountId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_EMailEntity_Attachments" /> Attachments

```csharp theme={null}
public virtual EMailAttachment[] Attachments { get; set; }
```

#### Property Value

[EMailAttachment](SuperOffice.WebApi.Data.EMailAttachment.md)\[]

### <a id="SuperOffice_WebApi_Data_EMailEntity_Bcc" /> Bcc

Bcc recipient of e-mail

```csharp theme={null}
public virtual EMailAddress[] Bcc { get; set; }
```

#### Property Value

[EMailAddress](SuperOffice.WebApi.Data.EMailAddress.md)\[]

### <a id="SuperOffice_WebApi_Data_EMailEntity_CalMethod" /> CalMethod

Method stored in the associated iCal appointment. Indicates if the iCal data is a reply, counter proposal etc.
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public CalMethod? CalMethod { get; set; }
```

#### Property Value

[CalMethod](SuperOffice.WebApi.Data.CalMethod.md)?

#### See Also

[EMailEntity](SuperOffice.WebApi.Data.EMailEntity.md).[CalMethod\_String](SuperOffice.WebApi.Data.EMailEntity.md#SuperOffice_WebApi_Data_EMailEntity_CalMethod_String)

### <a id="SuperOffice_WebApi_Data_EMailEntity_CalMethod_String" /> CalMethod\_String

Method stored in the associated iCal appointment. Indicates if the iCal data is a reply, counter proposal etc.
Raw string enum value.

```csharp theme={null}
[JsonProperty("CalMethod")]
public string CalMethod_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[EMailEntity](SuperOffice.WebApi.Data.EMailEntity.md).[CalMethod](SuperOffice.WebApi.Data.EMailEntity.md#SuperOffice_WebApi_Data_EMailEntity_CalMethod)

### <a id="SuperOffice_WebApi_Data_EMailEntity_CalReplyStatus" /> CalReplyStatus

Reply status stored in calendar data for the ical method is REPLY
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public CalReplyStatus? CalReplyStatus { get; set; }
```

#### Property Value

[CalReplyStatus](SuperOffice.WebApi.Data.CalReplyStatus.md)?

#### See Also

[EMailEntity](SuperOffice.WebApi.Data.EMailEntity.md).[CalReplyStatus\_String](SuperOffice.WebApi.Data.EMailEntity.md#SuperOffice_WebApi_Data_EMailEntity_CalReplyStatus_String)

### <a id="SuperOffice_WebApi_Data_EMailEntity_CalReplyStatus_String" /> CalReplyStatus\_String

Reply status stored in calendar data for the ical method is REPLY
Raw string enum value.

```csharp theme={null}
[JsonProperty("CalReplyStatus")]
public string CalReplyStatus_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[EMailEntity](SuperOffice.WebApi.Data.EMailEntity.md).[CalReplyStatus](SuperOffice.WebApi.Data.EMailEntity.md#SuperOffice_WebApi_Data_EMailEntity_CalReplyStatus)

### <a id="SuperOffice_WebApi_Data_EMailEntity_Cc" /> Cc

Cc recipients of e-mail

```csharp theme={null}
public virtual EMailAddress[] Cc { get; set; }
```

#### Property Value

[EMailAddress](SuperOffice.WebApi.Data.EMailAddress.md)\[]

### <a id="SuperOffice_WebApi_Data_EMailEntity_CustomHeaderList" /> CustomHeaderList

Non standard e-mail headers

```csharp theme={null}
public virtual EMailCustomHeader[] CustomHeaderList { get; set; }
```

#### Property Value

[EMailCustomHeader](SuperOffice.WebApi.Data.EMailCustomHeader.md)\[]

### <a id="SuperOffice_WebApi_Data_EMailEntity_EMailSOInfo" /> EMailSOInfo

Glue between SuperOffice data and an e-mail.

```csharp theme={null}
public virtual EMailSOInfo EMailSOInfo { get; set; }
```

#### Property Value

[EMailSOInfo](SuperOffice.WebApi.Data.EMailSOInfo.md)

### <a id="SuperOffice_WebApi_Data_EMailEntity_EmailItemId" /> EmailItemId

Primary key

```csharp theme={null}
public virtual int EmailItemId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_EMailEntity_Flags" /> Flags

Flag status of this mail (unread, replied, deleted )
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public EMailFlags? Flags { get; set; }
```

#### Property Value

[EMailFlags](SuperOffice.WebApi.Data.EMailFlags.md)?

#### See Also

[EMailEntity](SuperOffice.WebApi.Data.EMailEntity.md).[Flags\_String](SuperOffice.WebApi.Data.EMailEntity.md#SuperOffice_WebApi_Data_EMailEntity_Flags_String)

### <a id="SuperOffice_WebApi_Data_EMailEntity_Flags_String" /> Flags\_String

Flag status of this mail (unread, replied, deleted )
Raw string enum value.

```csharp theme={null}
[JsonProperty("Flags")]
public string Flags_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[EMailEntity](SuperOffice.WebApi.Data.EMailEntity.md).[Flags](SuperOffice.WebApi.Data.EMailEntity.md#SuperOffice_WebApi_Data_EMailEntity_Flags)

### <a id="SuperOffice_WebApi_Data_EMailEntity_FolderName" /> FolderName

Name of folder the e-mail belongs in

```csharp theme={null}
public virtual string FolderName { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_EMailEntity_From" /> From

Who did the e-mail originate from

```csharp theme={null}
public virtual EMailAddress From { get; set; }
```

#### Property Value

[EMailAddress](SuperOffice.WebApi.Data.EMailAddress.md)

### <a id="SuperOffice_WebApi_Data_EMailEntity_HTMLBody" /> HTMLBody

Body formatted in HTML

```csharp theme={null}
public virtual string HTMLBody { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_EMailEntity_HasCalendarData" /> HasCalendarData

If this email contains exactly one iCal appointment

```csharp theme={null}
public virtual bool HasCalendarData { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_EMailEntity_InReplyTo" /> InReplyTo

The envelope of the email this email is a reply to, if it exists

```csharp theme={null}
public virtual EMailEnvelope InReplyTo { get; set; }
```

#### Property Value

[EMailEnvelope](SuperOffice.WebApi.Data.EMailEnvelope.md)

### <a id="SuperOffice_WebApi_Data_EMailEntity_IsSent" /> IsSent

Is this a sent e-mail (not new)

```csharp theme={null}
public virtual bool IsSent { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="SuperOffice_WebApi_Data_EMailEntity_MessageID" /> MessageID

Unique id of e-mails

```csharp theme={null}
public virtual string MessageID { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_EMailEntity_PlainBody" /> PlainBody

Body formatted in plain text

```csharp theme={null}
public virtual string PlainBody { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_EMailEntity_Priority" /> Priority

Importance of the e-mail
NULL if unknown enum value.

```csharp theme={null}
[JsonIgnore]
public EMailPriority? Priority { get; set; }
```

#### Property Value

[EMailPriority](SuperOffice.WebApi.Data.EMailPriority.md)?

#### See Also

[EMailEntity](SuperOffice.WebApi.Data.EMailEntity.md).[Priority\_String](SuperOffice.WebApi.Data.EMailEntity.md#SuperOffice_WebApi_Data_EMailEntity_Priority_String)

### <a id="SuperOffice_WebApi_Data_EMailEntity_Priority_String" /> Priority\_String

Importance of the e-mail
Raw string enum value.

```csharp theme={null}
[JsonProperty("Priority")]
public string Priority_String { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

#### See Also

[EMailEntity](SuperOffice.WebApi.Data.EMailEntity.md).[Priority](SuperOffice.WebApi.Data.EMailEntity.md#SuperOffice_WebApi_Data_EMailEntity_Priority)

### <a id="SuperOffice_WebApi_Data_EMailEntity_ReceivedAt" /> ReceivedAt

Received date time

```csharp theme={null}
public virtual DateTime ReceivedAt { get; set; }
```

#### Property Value

[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)

### <a id="SuperOffice_WebApi_Data_EMailEntity_RepliedAt" /> RepliedAt

When this email was replied at

```csharp theme={null}
public virtual DateTime RepliedAt { get; set; }
```

#### Property Value

[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)

### <a id="SuperOffice_WebApi_Data_EMailEntity_Sent" /> Sent

When was the e-mail sent

```csharp theme={null}
public virtual DateTime Sent { get; set; }
```

#### Property Value

[DateTime](https://learn.microsoft.com/dotnet/api/system.datetime)

### <a id="SuperOffice_WebApi_Data_EMailEntity_ServerId" /> ServerId

Unique id for the e-mail on the server

```csharp theme={null}
public virtual int ServerId { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_EMailEntity_ServerIdentifier" /> ServerIdentifier

Server identifier of this email item (GraphApi uses string Id's)

```csharp theme={null}
public virtual string ServerIdentifier { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_EMailEntity_Size" /> Size

Total size of the e-mail

```csharp theme={null}
public virtual int Size { get; set; }
```

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="SuperOffice_WebApi_Data_EMailEntity_Subject" /> Subject

Subject of the e-mail

```csharp theme={null}
public virtual string Subject { get; set; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="SuperOffice_WebApi_Data_EMailEntity_To" /> To

To recipients of e-mail

```csharp theme={null}
public virtual EMailAddress[] To { get; set; }
```

#### Property Value

[EMailAddress](SuperOffice.WebApi.Data.EMailAddress.md)\[]

## See Also

[EMailAgent](SuperOffice.WebApi.Agents.EMailAgent.md)


## Related topics

- [SuperOffice.WebApi.Data.EMail SendEMailsRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.EMail_SendEMailsRequest.md)
- [SuperOffice.WebApi.Data.EMail SaveEMailRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.EMail_SaveEMailRequest.md)
- [SuperOffice.WebApi.Agents.EMailAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.EMailAgent.md)
- [SuperOffice.WebApi.Agents.IEMailAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IEMailAgent.md)
- [SuperOffice.WebApi.Data.EMail SaveToMailServerRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.EMail_SaveToMailServerRequest.md)
- [SuperOffice.WebApi.Data.EMail SaveRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.EMail_SaveRequest.md)
