public void DeleteEmailViaRightClick(string sender)
        {
            try
            {
                string              emailName       = String.Format(_emailNameXPath, sender);
                IWebElement         emailTitle      = Browser.GetDriver().FindElement(By.XPath(emailName));
                MainNavigationPanel navigationPanel = new MainNavigationPanel();

                Actions Action = new Actions(Browser.GetDriver());

                Actions RightClickAction = new Actions(Browser.GetDriver()).ContextClick(emailTitle);

                RightClickAction.Build().Perform();

                DeleteICon.Click();

                Logger.Configure();
                Log.Information($"Email from {sender} was deleted via right click'");
            }
            catch (Exception ex)
            {
                Logger.Configure();
                Log.Error(ex, "Email was not deleted via right click");
            }
        }
        public void DeleteEmail(string sender)
        {
            try
            {
                MainEmailBoxPage mainPage = new MainEmailBoxPage();

                string              emailName       = String.Format(_emailNameXPath, sender);
                IWebElement         emailTitle      = Browser.GetDriver().FindElement(By.XPath(emailName));
                MainNavigationPanel navigationPanel = new MainNavigationPanel();

                navigationPanel.MoreButton.Click();

                Actions Action = new Actions(Browser.GetDriver());
                Action.DragAndDrop(emailTitle, navigationPanel.TrashButton).Build().Perform();

                Logger.Configure();
                Log.Information($"Email from {sender} was deleted'");
            }
            catch (Exception ex)
            {
                Logger.Configure();
                Log.Error(ex, "Email was not deleted");
            }
        }