/**
* @brief Creates an email message handle for sending an email message.
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
* @privlevel public
* @privilege %http://tizen.org/privilege/email
*
* @retval #EMAILS_ERROR_NONE Successful
* @retval #EMAILS_ERROR_OUT_OF_MEMORY Out of memory
* @retval #EMAILS_ERROR_ACCOUNT_NOT_FOUND Email account not found
+ * @retval #EMAILS_ERROR_PERMISSION_DENIED The application does not have the privilege to call this method
*
* @pre At least one email account should be set up on the device.
*
/**
* @brief Destroys the email message handle and releases all its resources.
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
*
* @param[in] email The handle to the email message
*
/**
* @brief Sets a subject of the email message.
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
*
* @privlevel public
* @privilege %http://tizen.org/privilege/email
* @retval #EMAILS_ERROR_NONE Successful
* @retval #EMAILS_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #EMAILS_ERROR_OUT_OF_MEMORY Out of memory
+ * @retval #EMAILS_ERROR_PERMISSION_DENIED The application does not have the privilege to call this method
*
* @pre An email message handle is created using email_create_message().
*
* @brief Populates a body of the email message.
* @details Email message body means the text data to be delivered.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
*
* @privlevel public
* @privilege %http://tizen.org/privilege/mediastorage
* @retval #EMAILS_ERROR_NONE Successful
* @retval #EMAILS_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #EMAILS_ERROR_OPERATION_FAILED Operation failed
+ * @retval #EMAILS_ERROR_PERMISSION_DENIED The application does not have the privilege to call this method
*
* @pre An email message handle is created using email_create_message().
*
* @brief Adds a recipient to the email message.
* @details The email API supports sending an email message to multiple recipients.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
*
* @remarks Email address should be in standard format (as described in
* Internet standards RFC 5321 and RFC 5322).
/**
* @brief Removes all recipients for the email message.
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
*
* @param[in] email The handle to the email message
*
* @details It should be used to add a file to the attachment list
* of the email message.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
*
* @remarks The maximum attachment file size is 10MB.
+ * http://tizen.org/privilege/mediastorage is needed if input or output path are relevant to media storage
+ * http://tizen.org/privilege/externalstorage is needed if input or output path are relevant to external storage.
*
* @param[in] email The handle to the email message
* @param[in] filepath The absolute full path of the file to be attached
* @retval #EMAILS_ERROR_NONE Successful
* @retval #EMAILS_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #EMAILS_ERROR_OUT_OF_MEMORY Out of memory
+ * @retval #EMAILS_ERROR_PERMISSION_DENIED The application does not have the privilege to call this method
*
* @pre An email message handle is created using email_create_message().
*
/**
* @brief Clears all attachments of the email message.
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
*
* @param[in] email The handle to the email message
*
/**
* @brief Saves the email message at outbox.
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
*
* @privlevel public
* @privilege %http://tizen.org/privilege/email
*
- * @remarks Get the ID of mail.
- *
* @param[in] email The handle to the email message
*
* @return @c 0 on success,
* @retval #EMAILS_ERROR_NONE Successful
* @retval #EMAILS_ERROR_COMMUNICATION_WITH_SERVER_FAILED Communication with server failed.
* @retval #EMAILS_ERROR_INVALID_PARAMETER Invalid parameter
+ * @retval #EMAILS_ERROR_PERMISSION_DENIED The application does not have the privilege to call this method
*
* @pre An email message handle is created using email_create_message().
*
/**
* @brief Sends the email message.
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
*
*
* @remarks In order to check whether sending a message succeeds,
* @brief Called when the process of sending an email finishes.
* @details You can check whether sending an email succeeds using this function.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
*
* @param[in] email The handle to the email message
* @param[in] result The result of email message sending \n
* @brief Registers a callback function to be invoked when an email message is sent.
* @details You will be notified when sending a message finishes and check whether it succeeds using this function.
*
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
*
* @param[in] email The handle to the email message
* @param[in] callback The callback function to register
/**
* @brief Unregisters the callback function.
- * @since_tizen 2.3
+ * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 3.0 @endif
*
* @param[in] msg The handle to the email message
*