/// <summary>
        /// Add all folders to this foldermenu when control is loaded
        /// </summary>
        /// <param name="sender">sender</param>
        /// <param name="e">event</param>
        private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            emailName.Content = user.email;
            Folders myInbox = new Inbox(this, mw);

            headerTreeItem.Items.Add(myInbox);
            Folders myFolder = new Folder(this, mw);

            headerTreeItem.Items.Add(myFolder);
            Folders mySendt = new Sendt(this, mw);

            headerTreeItem.Items.Add(mySendt);
            Folders mySpam = new SpamFilter(this, mw);

            headerTreeItem.Items.Add(mySpam);
            Folders myTrash = new Trash(this, mw);

            headerTreeItem.Items.Add(myTrash);

            EmailAddTimer_Tick(this, new EventArgs());
            DispatcherTimer EmailAddTimer = new DispatcherTimer();

            EmailAddTimer.Tick    += new EventHandler(EmailAddTimer_Tick);
            EmailAddTimer.Interval = new TimeSpan(0, 1, 0);
            EmailAddTimer.Start();
        }
        /// <summary>
        /// Add all folders to this foldermenu when control is loaded
        /// </summary>
        /// <param name="sender">sender</param>
        /// <param name="e">event</param>
        private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            emailName.Content = user.email;
            Folders myInbox = new Inbox(this, mw);
            headerTreeItem.Items.Add(myInbox);
            Folders myFolder = new Folder(this, mw);
            headerTreeItem.Items.Add(myFolder);
            Folders mySendt = new Sendt(this, mw);
            headerTreeItem.Items.Add(mySendt);
            Folders mySpam = new SpamFilter(this, mw);
            headerTreeItem.Items.Add(mySpam);
            Folders myTrash = new Trash(this, mw);
            headerTreeItem.Items.Add(myTrash);

            EmailAddTimer_Tick(this, new EventArgs());
            DispatcherTimer EmailAddTimer = new DispatcherTimer();
            EmailAddTimer.Tick += new EventHandler(EmailAddTimer_Tick);
            EmailAddTimer.Interval = new TimeSpan(0, 1, 0);
            EmailAddTimer.Start();
        }