Goa.Object.get_mail

### Method

# Goa Object get_mail

#### Declaration [src]

    GoaMail*
    goa_object_get_mail (
      GoaObject* object
    )

#### Description [src]

Gets the `GoaMail` instance for the D-Bus interface org.gnome.OnlineAccounts.Mail on `object`, if any.

Gets property | `Goa.Object:mail`

#### Return value

Type: `GoaMail`

A `GoaMail` that must be freed with `g_object_unref()` or `NULL` if `object` does not implement the interface.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be `NULL`.