### Class

# EDataServer SourceMailAccount

since: 3.6

#### Description [src]

    class EDataServer.SourceMailAccount : EDataServer.SourceBackend
    {
      /* No available fields */
    }

Contains only private data that should be read and manipulated using the functions below.

Available since: 3.6

#### Hierarchy

#### Ancestors

- ESourceBackend
- ESourceExtension
- GObject

#### Instance methods

###### e_source_mail_account_dup_archive_folder

Thread-safe variation of e_source_mail_account_get_archive_folder(). Use this function when accessing `extension` from multiple threads.

since: 3.16

###### e_source_mail_account_dup_identity_uid

Thread-safe variation of e_source_mail_account_get_identity_uid(). Use this function when accessing `extension` from multiple threads.

since: 3.6

###### e_source_mail_account_get_archive_folder

Returns a string identifying the archive folder. The format of the identifier string is defined by the client application.

since: 3.16

###### e_source_mail_account_get_builtin

Returns whether the mail account is a builtin account. The builtin account cannot be created by a user. The default value is `FALSE`.

since: 3.46

###### e_source_mail_account_get_identity_uid

Returns the `ESource:uid` of the `ESource` that describes the mail identity to be used for this account.

since: 3.6

###### e_source_mail_account_get_mark_seen

No description available.

since: 3.32

###### e_source_mail_account_get_mark_seen_timeout

No description available.

since: 3.32

###### e_source_mail_account_get_needs_initial_setup

Check whether the mail account needs to do its initial setup.

since: 3.20

###### e_source_mail_account_set_archive_folder

Sets the folder for sent messages by an identifier string. The format of the identifier string is defined by the client application.

since: 3.16

###### e_source_mail_account_set_builtin

Sets whether the account is a builtin account. See `e_source_mail_account_get_builtin()` for more information about what it means.

since: 3.46

###### e_source_mail_account_set_identity_uid

Sets the `ESource:uid` of the `ESource` that describes the mail identity to be used for this account.

since: 3.6

###### e_source_mail_account_set_mark_seen

Sets whether the messages in this account should be marked as seen automatically. An inconsistent state means to use global option.

since: 3.32

###### e_source_mail_account_set_mark_seen_timeout

Sets the `timeout` in milliseconds for marking messages as seen in this account. Whether the timeout is used depends on e_source_mail_account_get_mark_seen().

since: 3.32

###### e_source_mail_account_set_needs_initial_setup

Sets whether the account needs to run its initial setup.

since: 3.20

##### Methods inherited from ESourceBackend (3)

###### e_source_backend_dup_backend_name

Thread-safe variation of e_source_backend_get_backend_name(). Use this function when accessing `extension` from multiple threads.

since: 3.6

###### e_source_backend_get_backend_name

Returns the backend name for `extension`.

since: 3.6

###### e_source_backend_set_backend_name

Sets the backend name for `extension`.

since: 3.6

##### Methods inherited from ESourceExtension (4)

###### e_source_extension_get_source

Returns the `ESource` instance to which `extension` belongs.

deprecated: 3.8 since: 3.6

###### e_source_extension_property_lock

Acquires a property lock, thus no other thread can change properties of the `extension` until the lock is released.

since: 3.18

###### e_source_extension_property_unlock

Releases a property lock, previously acquired with e_source_extension_property_lock(), thus other threads can change properties of the `extension`.

since: 3.18

###### e_source_extension_ref_source

Returns the `ESource` instance to which the `extension` belongs.

since: 3.8

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### EDataServer.SourceMailAccount:archive-folder

Folder to Archive messages in.

###### EDataServer.SourceMailAccount:builtin

Whether the account is builtin.

###### EDataServer.SourceMailAccount:identity-uid

ESource UID of a Mail Identity.

###### EDataServer.SourceMailAccount:mark-seen

Three-state option for Mark messages as read after N seconds.

###### EDataServer.SourceMailAccount:mark-seen-timeout

Timeout in milliseconds for Mark messages as read after N seconds.

###### EDataServer.SourceMailAccount:needs-initial-setup

Whether the account needs to do an initial setup.

##### Properties inherited from ESourceBackend (1)

###### EDataServer.SourceBackend:backend-name

The name of the backend handling the data source.

##### Properties inherited from ESourceExtension (1)

###### EDataServer.SourceExtension:source

The `ESource` being extended.

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct EDataServerSourceMailAccountClass {
      ESourceBackendClass parent_class;

    }

No description available.

###### Class members

`parent_class: ESourceBackendClass`

  No description available.