@Yaecob omer wrote:
I know my username and password. But I can't access my old email cause it sends me a code to access my Dropbox account.
You can try contacting Support, but without access to the email account, it's unlikely that you can gain access to the Dropbox account. You need to maintain an active email address on your account so you can receive password resets and one-time security codes used during sign in.
To contact Support, visit the Support page while you're NOT signed in to a Dropbox account, including these forums, and you'll see an option for sign in issues. It's best to use an Incognito or Private browsing session to make sure you're not signed in.