public static async Task <bool> TryGetInboxMessagesAsync() { var messages = await EmailSnippets.GetInboxMessagesAsync(); return(messages != null); }