I need to access deleted email in my domain. But I listed users messages from Gmail API, it returns just undeleted emails.
Is there anyway to accessing deleted email body, header ,etc. ?
If you've deleted a message permanently, by clicking Delete Forever in your Spam or Trash, you won’t be able to recover the message using the Gmail interface or using Gmail API. An option would be, to file a report to Gmail team.